Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Installing an SSL Certificate on OpenShift Online

DZone's Guide to

Installing an SSL Certificate on OpenShift Online

SSL certificates are relatively inexpensive, but there’s a number of organizations that are starting to offer certs for free–Let’s Encrypt is one. Read on to learn more.

· Cloud Zone ·
Free Resource

Discover the all-in-one cloud to help teams build better software. Brought to you in partnership with DigitalOcean

SSL certificates are relatively inexpensive, but there’s a number of organizations that are starting to offer certs for free–Let’s Encrypt is one. Their approach requires a script to renew your cert every 90 days. In some hosted environments however it might not be possible to run such a script.

For OpenShift hosted apps, you can both assign your own domain name to an application, and also import an SSL cert. See instructions here. Since it’s currently not possible to run a script like what Let’s Encrypt uses (see SO post here), certs from other organizations are more easily imported. StartCom is offering free SSL certs for 1 year, after which presumably you renew for another year.

Depending on what you are hosting, you may need to find and replace any hardcoded references to content loaded via http instead of https (to avoid 'mixed content' warnings in your browser). Once you’ve done this though, you get a shiny new green SSL padlock on your site!

Balance virtual machines with a healthy amount of memory tuned to host and scale applications. Brought to you in partnership with DigitalOcean

Topics:
ssl certificates ,openshift ,cloud

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}