Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPS URL serves a localhost certificate #1189

Open
Zer0x00 opened this issue May 17, 2024 · 0 comments
Open

HTTPS URL serves a localhost certificate #1189

Zer0x00 opened this issue May 17, 2024 · 0 comments
Labels
t/bug Something isn't working

Comments

@Zer0x00
Copy link

Zer0x00 commented May 17, 2024

Describe the bug

I'm trying to run phpIPAM with the https feature (In other projects the HTTPS feature works fine).

It exposes a HTTP apache2 service on port 80.

As expected https://phpipam-test.phpipam.orb.local/ is accessible.

But the certificate that it serves is a localhost certificate instead of the Orbstack certificate.

image

I've looked into the Docker Image to make sure that it indeed only exposes a HTTP service, not anything related HTTPS.

To Reproduce

Create the following docker-compose.yml file:

version: "3.7"

services:
  phpipam-test:
    image: phpipam/phpipam-www:v1.6.0
    ports:
      - "80:80"
    environment:
      - TZ=Europe/London
      - IPAM_DATABASE_HOST=phpipam-mariadb
      - IPAM_DATABASE_PASS=phpipam
      - IPAM_DATABASE_WEBHOST=%
    restart: unless-stopped
docker-compose up

Expected behavior

It should serve the Orbstack certificate.

Diagnostic report (REQUIRED)

OrbStack info:
Version: 1.5.1
Commit: 4cfac15e1080617c70eb163966e1cb2009dac1c2 (v1.5.1)

System info:
macOS: 14.5 (23F79)
CPU: arm64, 10 cores
CPU model: Apple M2 Pro
Model: Mac14,9
Memory: 32 GiB

Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-05-17T11-40-43.573298Z.zip

Screenshots and additional context (optional)

No response

@Zer0x00 Zer0x00 added the t/bug Something isn't working label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant