Ramon Pego

Active Member
Mar 12, 2019
31
5
8
Brazil
cPanel Access Level
Root Administrator
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.
Privacy Policy
 

Ramon Pego

Active Member
Mar 12, 2019
31
5
8
Brazil
cPanel Access Level
Root Administrator

cPanelLauren

Technical Support Community Manager
Staff member
Nov 14, 2017
13,041
1,206
313
Houston
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
 

Ramon Pego

Active Member
Mar 12, 2019
31
5
8
Brazil
cPanel Access Level
Root Administrator
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