-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
self-signed certificates !! #958
Comments
If you can access the hub in HTTPS using a browser or CA certs are probably missing or misconfigured in the PHP container/server. You need to install a bundle (usually the |
Thank you for the fast answer. I will check this! 🦖 |
Well, so i have update dockerfile and add
i still get error "update send fail" |
I see that you are using a non-standard port. This is not supported by Let's Encrypt when using the HTTP-01 challenge (the default). You'll have to use the default port (443) or switch to a more complex ACME challenge such as DNS-01. https://community.letsencrypt.org/t/using-encrypt-for-non-standard-ports/20164/2 |
you mean this config
Do you mean it's just a redirection to a container, or is there an incompatibility between xxxxx.com:9061 and the container running on port 443? Or are you asking if Let's Encrypt can't access xxxxx.com:9061 and can only reach xxxxx.com directly? To be honest, I'm not exactly sure where the issue lies—whether it's on the Mercure server, in my Symfony app, or with the browser or HTTP client I'm using. |
Basically, the public ports must be the standard ports or it won't work. Yo ease debugging, I strongly encourage using standard ports everywhere (on the host and in the container). |
So, I’ve found a solution, but I’m not sure if it’s the best practice. Here’s what I did: I installed the Mercure container on port 80. My server is running a system called WebStation, and I linked the container to WebStation, exposing port 80. Now, mercure.xxxxx.com is working. Instead of using the SSL certificate from the Mercure container, I provided my server’s SSL certificate to mercure.xxxxx.com. I checked it on SSL Labs, and it reports that everything is fine! What do you think—does this sound like a solid solution? I know it might sound a bit crazy, and maybe it’s not entirely clear. |
log mercure
|
Hi, I’ve been using Mercure for a long time now, and I love it. However, all this time, I’ve had to configure it like this:
This applies both in development and, unfortunately, in production as well. I’ve tried for a long time to resolve this issue, but without success!
I’m using Docker (latest version) and Mercure (latest version). Everything works well in both dev and prod, but as soon as I switch to:
I get the following error:
"message": "Failed to send an update."
When I use this command:
It returns:
urn:uuid:47f74e92-4092-465a-956d-4fea867abfb9
here my config :
It seems that the Docker server images are working properly. The certificates on the Mercure server are from Let's Encrypt, the development application uses OpenSSL, and the production application uses Let's Encrypt.
So, my question is: Does Mercure support self-signed certificates in both development AND production environments?
thank.
The text was updated successfully, but these errors were encountered: