Error loading rsa private key - MUP to Deploy Meteor App at Digital Ocean w/SSL -


i have meteor app deploying digital ocean ubuntu server via mup. works great without ssl, can't figure out ssl part.

i purchased comodo ssl cert. sent me 4 .crt files. can following command:

cat cert1.crt cert2.crt cert3.crt mydomain.crt > ssl.pem 

i put ssl.pem file in root directory locally. added "ssl": {"pem":"./ssl.pem"} mup.json file , ran mup setup -- succesful until:

[45.55.225.190] x verifying ssl configurations (ssl.pem): failed     -----------------------------------stderr-----------------------------------     trying initialize ssl contexts certificateserror loading rsa private key     -----------------------------------stdout-----------------------------------     ---------------------------------------------------------------------------- 

i'm not sure how troubleshoot this. ran quick find on server , ssl.pem there, mup sent file over, seems stud not verifying file or not finding it?

turns out running 2 different problems. first, have put certificate files in specific order. second, not including key file. command create .pem file needed was:

cat mydomain.crt comodorsadomainvalidationsecureserverca.crt comodorsaaddtrustca.crt addtrustexternalcaroot.crt mydomain.nopass.key > ssl.pem 

this blog post @ developerside.net helped me tremendously.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -