• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue in install ssl certificate using Plesk API.

Yogesh_Patel

New Pleskian
Hello All,

I am developing new module and installed SSL certificate using following API call.
Request call:
<packet>
<certificate>
<install>
<name>mycertificatename</name>
<webspace>mydomain.com</webspace>
<content>
<csr>csr</csr>
<pvt>private key</pvt>
<cert>cert</cert>
<ca>ca</ca>
</content>
<ip_address>domain ip address</ip_address>
</install>
</certificate>
</packet>

Response call
<packet>
<certificate>
<install>
<result>
<status>ok</status>
</result>
</install>
</certificate>
</packet>

But when i checked this domain by open in browser. the certificate is not installed.
After lots of R&D i found that there are option of select SSL in hosting setting screen. The default selected SSL is "default certificate".
certificate with default selection.jpeg
I have changed this option to "not selected".

certificate with not selected.jpeg

After this changes i have installed certificate again and it is working fine.
So is it bug in plesk or it is default behavior Plesk Panel?

Please give your valuable feedback.

Best Regards,
Yogesh
 
Back
Top