Search

11.10.2. Managing Custom SSL Certificates

download PDF
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

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.

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.

© 2024 Red Hat, Inc.