Possible to use API to Generate and Retrieve CSR?

ag583

Registered
Jan 17, 2013
2
0
1
cPanel Access Level
Root Administrator
Hello -

I am researching the feasibility of using the cPanel API to fully automate the SSL certificate purchasing process. I looked through the API docs and it looks like there is a SSL::generatecsr and a SSL::listcsrs. However - the listed returned values for SSL:listcsrs did not appear to show the actual CSR returned.

I want to know if this is possible via the API to use in an API call to the certificate authority so that a certificate can be automatically purchased, passed back, and then installed via the cPanel API.

Thanks!
 

morissette

Well-Known Member
May 24, 2009
119
2
66
Austin, TX
cPanel Access Level
Root Administrator