Chris1
Regular Pleskian
Hello,
I am writing a bash script to loop through a number of domains using old default SSL certificates to use a new specific certificate.
I've read the documentation however there doesn't appear to be an option to assign a certificate to a domain.
The --assign-cert option seems to say what I want to do but it doesn't work.
I tried doing this:
But it comes up with this error:
http://docs.plesk.com/en-US/12.5/cl...utilities/certificate-ssl-certificates.39009/
Is it possible to assign a new certificate to a clients domains via the CLI tool?
I am writing a bash script to loop through a number of domains using old default SSL certificates to use a new specific certificate.
I've read the documentation however there doesn't appear to be an option to assign a certificate to a domain.
The --assign-cert option seems to say what I want to do but it doesn't work.
To assign the SSL certificate named Site Certificate (from the administrator's repository) on example.com for use with IP address 192.0.2.78:
plesk bin certificate --assign-cert "Site Certificate" -admin example.com -ip 192.0.2.78
I tried doing this:
Code:
plesk bin certificate --assign-cert "New Certificate" -admin clientdomain.com -ip 111.111.111.111
But it comes up with this error:
Code:
Unknown option 'clientdomain.com': /usr/local/psa/bin/certificate --assign-cert New Certificate -admin clientdomain.com -ip 111.111.111.111
exit status 1
http://docs.plesk.com/en-US/12.5/cl...utilities/certificate-ssl-certificates.39009/
Is it possible to assign a new certificate to a clients domains via the CLI tool?