• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue managing SSL Certificates via CLI

Joe Deegan

New Pleskian
Hi,

Plesk 12.0.18 latest MU
CentOS 6.6 Final

I'm having trouble managing our ssl certificates for our domains via command line following this KB article:

http://download1.parallels.com/Plesk/PP12/12.0/Doc/en-US/online/plesk-unix-cli/39009.htm

I wish to remove the certificates for many of our domains which don't require it, around 200 domains.

When I try to run a command as stated i get the error:

-bash: ./certificate: No such file or directory

As shown in the attached screenshot.

Please advise?
Many thanks
 

Attachments

  • issue_plesk.png
    issue_plesk.png
    9.2 KB · Views: 6
Hi Joe Deegan,

Plesk CLI commands are used from the Plesk bin directory: "/usr/local/psa/bin/".

If you would like to use them from your root directory on your server, you have to use the full path:

/usr/local/psa/bin/certificate --help


You have as well the choice to use the command "plesk bin" in front of each Plesk CLI command with Plesk 12, which will redirect you to your local Plesk bin directory.

plesk bin certificate --help
 
Back
Top