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 server doesn't respond to localhost #26

Open
jamesmunns opened this issue Feb 14, 2025 · 0 comments
Open

HTTPS server doesn't respond to localhost #26

jamesmunns opened this issue Feb 14, 2025 · 0 comments
Labels
bug Something isn't working Poststation Issues for the Poststation Server
Milestone

Comments

@jamesmunns
Copy link
Contributor

When generating the self-signed cert, we prepare a list of Subject Alternative Names for the certificate. In this, we use all of the IP addresses we found to represent the host. However, we don't add localhost, so if you try to curl https://localhost:4444/api/devices, the certificate check fails.

We should add localhost to the list of names.

@jamesmunns jamesmunns added bug Something isn't working Poststation Issues for the Poststation Server labels Feb 14, 2025
@jamesmunns jamesmunns added this to the v0.18 milestone Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Poststation Issues for the Poststation Server
Projects
None yet
Development

No branches or pull requests

1 participant