11.9.2. Managing Custom SSL Certificates

Adding a Custom SSL Certificate
Add a custom SSL certificate to an alias with the following command.
$ rhc alias update-cert App_Name Domain_Name --certificate Cert_File --private-key Key_File 
If the private key is encrypted, specify the passphrase with the --passphrase option.
Viewing Custom SSL Certificate Status
View domain name aliases and SSL Certificate status with the following command, specifying the application name:
$ rhc alias list App_Name

Example 11.15. Checking SSL Certificate Status

$ rhc alias list racer

Alias         Has Certificate? Certificate Added
------------- ---------------- -----------------
fast.cars.com yes              2013-08-05
quick.cars.com no               -
Removing a Custom SSL Certificate
Remove a custom SSL certificate from an alias with the following command, specifying the application name and alias name:
$ rhc alias delete-cert App_Name Alias