11.10.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 rhc alias update-cert App_Name Domain_Name --certificate Cert_File --private-key Key_File rhc alias update-cert App_Name Domain_Name --certificate Cert_File --private-key Key_File rhc alias update-cert App_Name Domain_Name --certificate Cert_File --private-key Key_File rhc alias update-cert App_Name Domain_Name --certificate Cert_File --private-key Key_File rhc alias update-cert App_Name Domain_Name --certificate Cert_File --private-key Key_File rhc alias update-cert App_Name Domain_Name --certificate Cert_File --private-key Key_File 
Copy to Clipboard Toggle word wrap

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_Namerhc alias list App_Name
Copy to Clipboard Toggle word wrap

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               -
Copy to Clipboard Toggle word wrap

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 Aliasrhc alias delete-cert App_Name Alias
Copy to Clipboard Toggle word wrap

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat