SSL Configuration with Comodo Premium SSL and MUP Stud


#1

Hi for those how are configuring SSL certificate with meteor and are (struggling like me) having problems creating the bundle this is the order that work for me:

cat STAR_yourdomain_com.crt COMODORSAOrganizationValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt yourdomain.com.key > yourdomain.pem

After that use that pem in your mup.conf:

{
  ...

  "ssl": {
    "pem": "./yourdomain.pem",
    //"backendPort": 80
  }    
  ...
}

Set your ROOT_URL to https :

"ROOT_URL": "https://yourdomain.com",

And run mup setup and you are good to go. Also you might want to add the force-ssl package just in case.


#2

Your my hero! This worked perfectly.


#3

Glad this was useful


#4

where did you get the .key file? what is it?
I bought a certificate from namecheap.com. I was able to validate my domain and download two files :

  1. mydomain.ca-bundle
  2. mydomain.crt

I don’t have a .key file, nor do I know what that is. Is it the same .pem file mup takes in order to be able to login to the server via ssh?

Then I did the following :
$ cat mydomain.crt mydomain.ca-bundle mydomain.pem > mydomain.pem

and added the following entry to my mup mup.json file :

  "ssl": {
    "pem": "mydomain.pem"
    //"backendPort": 80
  },

then
mup deploy

now when I try to access http://mydomain.com, I get a response, the app loads.
when I try to access https://mydomain.com, there is no response.


#5

I opened port 443 on my aws ec2 instance.

There is an error response. This message shows in chrome :

This webpage is not available DNS_PROBE_FINISHED_NXDOMAIN


#6

Hi looshi,

Were you able to figure this out? I also got my SSL (recently) from NameCheap.

And I wanted to use the SSL in my deployed app.