Webmin Server Index: Failed to connect to: Invalid SSL certificate : unable to verify the first certificate

When adding a Server to Webmin Server Index i get
Failed to connect to mydomain.tld: Invalid SSL certificate : unable to verify the first certificate
When I open webmin on the target server in the browser, the certificate is displayed as valid

Checking the certificate via the command line yielded this result:

$ openssl s_client -connect mydomain.tld:1000 -showcerts
depth=0 CN = mydomain.tld
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = mydomain.tld
verify error:num=21:unable to verify the first certificate
verify return:1
depth=0 CN = mydomain.tld
verify return:1
SYSTEM INFORMATION
OS type and version Debian 11
Webmin version 2.202
Virtualmin version 7.20.2
Webserver version Apache2

I fixed it by removing the .ca (CHAINED-Certificate) File (this lline: ipextracas_domain.tld,*.domain.tld=/etc/ssl/virtualmin/123456789/ssl.ca)
completly from the Webmin Config File in /etc/webmin/miniserv.conf

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.