-
Notifications
You must be signed in to change notification settings - Fork 241
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
[Bug]: wildcard certificate for *.shuttleapp.rs does not cover base domain shuttleapp.rs #833
Comments
Firefox appears to get the same error (check the network monitor) then on its own initiative redirect to https://www.shuttleapp.rs/. |
Hey @paulotten ! Thanks for reporting this. Will bring some context on this (cc @chesedo ): Back in the day as far as I understood we were serving certificates for This changed though when
|
Hey @iulianbarbu I think I've got the code written for this. #968 I'm having issues testing it though. I'm trying to follow the steps from https://github.com/shuttle-hq/shuttle/blob/main/admin/README.md#how-to-test-custom-domain-certificates-locally I'm getting an error trying to run
Running this locally works:
As does running this from inside the gateway container.
Any suggestions? |
Hey @paulotten ! Have you created an admin user and logged in before, per the CONTRIBUTING.md guide? docker compose --file docker-compose.rendered.yml --project-name shuttle-dev exec auth /usr/local/bin/service --state=/var/lib/shuttle-auth init --name admin --key dh9z58jttoes3qvt cargo run --bin cargo-shuttle -- login --api-key "dh9z58jttoes3qvt" |
@iulianbarbu yes. Longer answer: I hadn't done it since last remaking the images. Running the docker command now however I get a "UNIQUE constraint failed" error, so the container still has the admin user saved. Checking |
What happened?
https://shuttleapp.rs/ on Chrome currently yields a certificate error. The certificate appears to be for "*.shuttleapp.rs" which does not include "shuttleapp.rs".
The certificate appears to be from "Let's Encrypt". Its been a while but I think I remember being able to include the base domain when creating a wildcard certificate with "Let's Encrypt".
Version
n/a
Which operating systems are you seeing the problem on?
Windows
Which CPU architectures are you seeing the problem on?
No response
Relevant log output
No response
Duplicate declaration
The text was updated successfully, but these errors were encountered: