-
Notifications
You must be signed in to change notification settings - Fork 364
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] ssl certificate failed #1420
Comments
Hello @oliverbienert, Can you double check that nginx user can access both certificate and key ? |
Thank you for looking into that. Unfortunately, since August, I had a certain pressure to make progress so I removed bunkerweb from my stack. However, the certificates are still in use. I tested permissions with:
So that means nginx can read the files. What confuses me are the messages in the error log above concerning letsencrypt and selfsigned certificates. As I haven't configured them at all made me believe the error has perhaps nothing to do with read rights. |
Hi, starting to catch up on pending issues. Made a quick search and by the look of it it looks like its linked to a SNI issue where the |
Okay as I understand it, it's due to the SERVER_NAME variable having a static ip instead of a domain name. Therefore the browser doesn't send an SNI name as it's not needed. |
Thank you. Does that mean that at the moment there is no such fallback? |
Hi, sorry for the late response. Indeed as of now no fallback are implemented. |
What happened?
Hello,
I've successfully set up a reverse proxy configuration on a local Ubuntu 24.04 instance running in a lxd container:
Then I tried the same setup on a virtual machine (HyperV, Ubuntu 24.04) in my local institute LAN, replacing servername pathes to certificate files and DNS resolver addresses (I have replaced the first two parts of the relevant IP-Addresses with xxx.xxx):
The certificates were created using
mkcert
on my local dev system (Also Ubuntu 24.04).However, when I run the configuration; I get the errors as shown in log output
The certificates were working properly on this machine before installing bunkerweb, meaning, I had a working nginx configuration:
Can someone help me out here? Is this, because I am using an IP-address in the second machine?
How to reproduce?
As described in 'What happened', I use identical setups on a lxd instance and a virtual machine in HyperV. Only on one machine I can reproduce the error.
Configuration file(s) (yaml or .env)
Relevant log output
BunkerWeb version
1.5.9
What integration are you using?
Linux
Linux distribution (if applicable)
Ubuntu 24.04
Removed private data
Code of Conduct
The text was updated successfully, but these errors were encountered: