Install SSL on WHM server
Hi, all my accounts have ssl on their domains
but on my whm.domain.com, where i use to log to administrate server through whm not
i'm starting to study whm api, but requires SSL on domain to make a request
when i try i receive this:
(i already generate a token etc etc) my whm domain its the only one with no ssl connection
HTTP error 403
json-api/list-accts
Token login requires an SSL connection
Copyright" 2020 cPanel, L.L.C.
-
whm.domain.com should be included as a SAN to domain.com's certificate. If it is not then whm.domain.com either does not exist or does not resolve. The hostname of the server should function for what you're trying to do as well as should be provided an SSL certificate that is good for 1 year 0 -
I'm a little confused the whm.domain.com domain exists because I access WHM through it the hostname is set to servidor.domain.com but if I access nothing happens I cannot install a certificate on whm.domain.com through whm, and if I enter the domain.com cpanel the subdomain whm.domain.com does not appear, it seems that it is only available for WHM 0 -
Hi Ramon, To install SSL on host-name (whm.domain.com) make sure your hostname should be resolving with the server IP. After that you can run below command via terminal: [root@server ~]# /usr/local/cpanel/bin/checkallsslcerts Output Below:- The system will check for the certificate for the "cpanel" service. The system will attempt to verify that the certificate for the "cpanel" service is still valid using OCSP (Online Certificate Status Protocol). The certificate for the "cpanel" service passed all checks. The system will check for the certificate for the "dovecot" service. The system will attempt to verify that the certificate for the "dovecot" service is still valid using OCSP (Online Certificate Status Protocol). The certificate for the "dovecot" service passed all checks. The system will check for the certificate for the "exim" service. The system will attempt to verify that the certificate for the "exim" service is still valid using OCSP (Online Certificate Status Protocol). The certificate for the "exim" service passed all checks. The system will check for the certificate for the "ftp" service. The system will attempt to verify that the certificate for the "ftp" service is still valid using OCSP (Online Certificate Status Protocol). The certificate for the "ftp" service passed all checks.
Once you get the same output then you can try to access WHM URL with domain name.0
Please sign in to leave a comment.
Comments
5 comments