Auto SSL on deploym...
 
Notifications
Clear all

Auto SSL on deployment

6 Posts
2 Users
0 Reactions
1,953 Views
Posts: 27
Topic starter
(@mojoekita)
Eminent Member
Joined: 8 years ago

Hi there

Is the a way to enable auto SSL by default when new domains are being created in SolidCP.

5 Replies
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

This is currently not possible. Would you be looking for SolidCP to try generate the LetsEncrypt certificate?

Thanks,

Trevor

Reply
Posts: 27
Topic starter
(@mojoekita)
Eminent Member
Joined: 8 years ago

Hi there Trevor

Yes, that would be the ideal situation if SolidCP creates a Letsencrypt SSL for each domain on creation of the domain. If there is a current work around to achieve this I would greatly appreciate any advise you can give me. thanks
Alternatively do you know of a command or API that I can issue to create new certs for a domain?

Reply
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

To make a certificate for a website you would need to call the SolidCP Enterprise portal API using :9002/esWebServers.asmx?op=LEInstallCertificate

If you load this in a browser it will explain the required values.

Thanks,

Trevor

Reply
Posts: 27
Topic starter
(@mojoekita)
Eminent Member
Joined: 8 years ago

Thanks for the answer Trevor

In the mention API where do I get the value for <siteItemId>int</siteItemId>.

I searched all columns in SolidCP DB and can't find anything matching it.

The closest I came was DomainItemId.

Please advise.

POST /eswebservers.asmx HTTP/1.1
Host: xxx.xxx.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<LEInstallCertificate xmlns="http://smbsaas/solidcp/enterpriseserver">
<siteItemId>int</siteItemId>
<email>string</email>
</LEInstallCertificate>
</soap12:Body>
</soap12:Envelope

Reply
Page 1 / 2
Share: