SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu Linux 24.04.3 |
Webmin version | 2.402 |
Virtualmin version | 7.30.8 |
Webserver version | Nginx version 1.28.0 |
I requested SSL certificates via Virtual server > Manage Virtual Server > Setup SSL Certificate > SSL Providers.
The challenge goes fine and the certificate is installed but the server returns an error when using curl:
curl -L -v -k https://example.com/
...
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
When I try to see the certificate chain, I see the certificates but there are error messages.
openssl s_client -connect example.com:443 -showcerts
...
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA-PSS
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 1863 bytes and written 398 bytes
Verification error: unable to verify the first certificate
In Webmin > Webmin Configuration > SSL Encryption I see that the Private key file and Certificate file are present allong with an Additional certificate file: /etc/webmin/letsencrypt-ca.pem
I could not figure out where the Root Certificate can be set or what is missing for to validate it.
When I check NGINX conf file I see that SSL are correctly in the directives with:
listen IPv4 ssl;
listen [IPv6]:443 ssl;
ssl_certificate /etc/ssl/virtualmin/XXXXX/ssl.combined;
ssl_certificate_key /etc/ssl/virtualmin/XXXXX/ssl.key;
Any hints?