Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

https security certificate not trusted error on mobile via openshift server

I'm starting an app on openshift. I've purchased comodo positive ssl from namecheap and followed the instructions to install on openshift. It works fine on desktop browsers but i get the following "not trusted" error on android browsers. I have not tried IOS.

i uploaded following files to openshift:

  • stylistcity_com.crt

  • server.key

Other files i have that were not used include:

  • server.csr
  • server.pass.key
  • AddTrustExternalCARoot.crt
  • PositiveSSLCA2.crt

Any help would be appreciated.

Chrome

Firefox

matches domain

Cert chain

like image 552
Darren Cato Avatar asked May 17 '14 16:05

Darren Cato


1 Answers

Thanks to @stenwt from the openshift irc channel, It finally work. Here is what i did.

cat mycert.crt cacert.ca > myapp.pem; rhc alias update-cert appname www.domain.com --certificate myapp.pem --private-key myapp.key --passphrase 'mypass'
like image 168
Darren Cato Avatar answered Oct 13 '22 11:10

Darren Cato