Ramon Pego

Member
Mar 12, 2019
18
5
3
Brazil
cPanel Access Level
Root Administrator
Hello, I have a WHM server and several accounts managed by it,
All accounts correctly contain SSL all okay.
But in the main account that manages all accounts, I can't put SSL,
for example, my client

myclient.com.br
www.myclient.com.br
cpanel.myclient.com.br
webmail.myclient.com.br


Everyone has SSL normally, but

mymaindomain.com.br
whm.mydomain.com.br
...
I don't have SSL, and I need it because I'm starting to study the API, and it only generates the key over SSL
 

Attachments

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
9,366
799
263
Houston
Hello,


Based on what you've noted thus far, this doesn't sound like something that would require a developer response, to be sure and to assist you best, can you answer the following?

I assume you're attempting to utilize the following UAPI function: https://documentation.cpanel.net/display/DD/UAPI+Functions+-+SSL::generate_key or WHM API 1 Functions - generatessl - Developer Documentation - cPanel Documentation

1. This process has been automated with AutoSSL - you shouldn't need to generate self signed SSL's or the private key on their own
  • We offer free 1 year certificates for the hostname of the server and free 90-day certificates using AutoSSL for the domains.
2. If you do need to generate your own private keys or self signed SSL's you should be able to do this over https with the IP address or the hostname of the server - the hostname automatically gets an SSL vhost, with or without a self signed certificate.

3. It's unclear whether you need an SSL for the hostname of the server or a domain on the server but I see in the screenshot that you're using whm.domain.tld to do this, you can alternatively use the hostname of the server pending it has an SSL (self signed or otherwise) installed - host.name.tld:2087 would function in the same manner.