| SYSTEM INFORMATION | |
|---|---|
| OS type and version | Ubuntu Linux 22.04.5 |
| Usermin version | 2.302 |
| Virtualmin version | 7.30.8 |
| Theme version | 24.02 |
| Apache version | 2.4.52 |
| Package updates | All installed packages are up to date |
We have a OpenSSL self-signed Root and private key, which signs our server cert, server.CA and then client an intermediary certs
We have successfully set up mosquitto on virtualmin on a subdomain mqtt.domain2.com
However, when we try now HTTPS SSL site, it fails.
even openeing a browser at https://mqtt.domain2.com fails with ânot secureâ message forcing HTTP vs HTTPS.
the cert does show its valid
Virtualmin with subdomain
Manage Virtual Server â Setup SSL certificate â CA Certificate is the self signed CA.crt that created the server and client certs
CN = mqtt.domain2.com
In Virtualmin for the subdomain
Web Configuration â Configure SSL Website â SSL options
, we see the SSL for the subdomain is correctly listed.
Under the SSL Directives, we see it correctly configured:
SuexecUserGroup #1005 #1002
ServerName mqtt. domain2.com
ServerAlias www.mqtt. domain2.com
ServerAlias mail.mqtt. domain2.com
ServerAlias webmail.mqtt. domain2.com
ServerAlias admin.mqtt. domain2.com
The SSL certificate is good also (which works for MQTT). From a web browser, for the subdomain (mqtt.Domain2.com), we see the SSL certificate:
Common Name (CN): mqtt.domain2.com
Organization (O): domain2.com
Organizational Unit (OU): server.domain2.com
Common Name (CN): root.domain2.com
Organization (O) : domain2 LLC
Organizational Unit (OU): domain2.com