I'm currently working on a Plesk-Panel Plugin for automatically getting & installing SSL-certificates. With the very powerful XML API provided by Parallels I'm able to install the certificate to Plesks SSL Cert-Pool.
It's also possible to turn SSL on for a specific page, but I can absolutely find no way to activate a specific certificate (which is, of course, already added to the certificate pool).
The easiest answer of course would be "the API doesn't support it", but it's very easy to do this via the Command Line Utilities using this command:
/opt/psa/bin/subscription -u example.com -certificate-name my_cool_ssl_cert
and regarding to the manual,
The Command-Line Interface (CLI) has the same functions as API RPC
which is relatively obvious, because they have the same functionality everywhere else.
So what point do I miss? Has anybody done this before?
Without the possibility to activate a specific via the XML-API, many of the calls would be completely senseless (It's possible to install a CERT, activate ssl but not to activate it? Can't really believe this.)
I'd really appreciate any answer/comment that points me to the right direction, thanks in advance!