Chapter 94: Controller: /siteworx/ssl/chain Up Part III: SiteWorx API Spec Chapter 96: Controller: /siteworx/ssl/csr 

95 Controller: /siteworx/ssl/crt

Required Permissions "SSL"
Required Options SSL Access
Action: delete
Added in version 4.7.0-339
Description Delete a SSL certificate.
Action: fail
Added in version n/a
Description Magic function - test for failure mechanism.
Action: getSslCrt
Added in version 6.0.11-1380
Description Get SSL Certificate.
Sample output
array (
’status’ => 0,
’payload’ => ’—--BEGIN CERTIFICATE—--
MIIDyTCCArGgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBjTELMAkGA1UEBhMCVVMx
CzAJBgNVBAgMAlBBMRMwEQYDVQQHDApQaXR0c2J1cmdoMRIwEAYDVQQKDAlJbnRl
cldvcngxEDAOBgNVBAsMB1Rlc3RpbmcxFDASBgNVBAMMC2V4YW1wbGUuY29tMSAw
HgYJKoZIhvcNAQkBFhFhZG1pbkBleGFtcGxlLmNvbTAeFw0xODA3MTExOTI5NDRa
Fw0xOTA3MTExOTI5NDRaMIGNMQswCQYDVQQGEwJVUzELMAkGA1UECAwCUEExEzAR
BgNVBAcMClBpdHRzYnVyZ2gxEjAQBgNVBAoMCUludGVyV29yeDEQMA4GA1UECwwH
VGVzdGluZzEUMBIGA1UEAwwLZXhhbXBsZS5jb20xIDAeBgkqhkiG9w0BCQEWEWFk
bWluQGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
6uGPHBVlI0ytHU0T9cyOqWHYKVVzKUiWatDJA6xh2+CuMqtEQIcLshnJxuOYjTH0
QhEHRD5HRSPLjVoaZltCGlAKZWZnuFWgIQPDAgSHdXbdvbqsQn/xZPcB1MsNvxFs
2uoADxlD8QkfiI/KlX7wzvwluiu7tsMvDyekbkVWzqLVIR21S/Nh8/0KM7UgR8Pk
uLRqR43sZ54ih4s9TgfDmC+bVOVOgayi6rO15CdLzziF6uKwKAoIg0uljSjTD8XM
V601Beu9psl6BePZPdY25UFCeSIfkiw0IJdzifd9BS0whRbZc2kV7Yig1XEBe4Kc
vMrGnfeQg7MmtKEhQBtACwIDAQABozIwMDAJBgNVHRMEAjAAMAsGA1UdDwQEAwIF
4DAWBgNVHREEDzANggtleGFtcGxlLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEA46s0
D0OYx+Gemz2ocnyLotiZoJwSuftO8CGsfVvpDX4PW/wsxcsSgHS+MrXxOVQU/rUE
J9flOabeLDfWHlGXwH9McuJuMrAcPzf/eGbLjXO2fn3eZjqpLME2r7N5Dbl8QHqN
gkZIVqPjMwX9a8NAQuKubzpARkqh0IUZKQSxuR3EpRqohQ3JFbW7xjB9Juh82cAa
wz+KLY8BpmohzqGiDhcLQh6sk/cicrRA8XbpxVJM1MSI2tOtih4PIcODL0pMPKYe
mS2wwM4InJ4p97iRhVxkxwezWfE8vRYoUYgd1ee7V0EeG5Ye2UfHdWXZh0p5FPVI
uGCfdHlTRzuu36O29A==
—--END CERTIFICATE—--
’,
)
Action: install
Added in version 4.7.0-339
Description Install a SSL certificate.
Input Parameters
Name Type Notes Required?
crt string Yes
Action: reroute
Added in version n/a
Description Action to re-route from the current controller to a different one.
Input Parameters
Name Type Notes Required?
controller string Example Values
Index, Overview, Email, EmailBox, EmailAlias, EmailGroup, EmailAutorespond, DomainsSlave, DomainsPointer, DomainsSub, DomainsPhp, Dns, Ssl, SslKey, SslChain, SslCrt, SslCsr, Ftp, FtpSessions, MysqlDb, MysqlUser, MysqlPerms, Cron, Htaccess, Simplescripts, Users, Logs, Twofactorauth, EmailRemotesetup, EmailFilters, EmailSpamprefs, EmailSpf, EmailDomainkeys, Backup, BackupSchedule, Prefs, Notice, Logout
Yes
Action: win
Added in version n/a
Description Magic function - test for testing success mechanism.
 Chapter 94: Controller: /siteworx/ssl/chain Up Part III: SiteWorx API Spec Chapter 96: Controller: /siteworx/ssl/csr 

(C) 2018 by InterWorx LLC