Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Let's Encrypt certificate on modulus.io

I've deployed a Meteor app on modulus.io and would like to set up SSL with Let's Encrypt.

According to Let's Encrypt's documentation, it seems that you need access to the server's command line to install their client. But, as far as I know, there's no way to access the server's command line on modulus.io.

Is there any way to get a Let's Encrypt certificate on modulus.io? If so, how?

like image 699
Yngve Høiseth Avatar asked Dec 19 '15 07:12

Yngve Høiseth


People also ask

How do I find my Let's encrypt certificate?

Check Let's Encrypt certificate status in Exchange Admin Center. Sign in to Exchange Admin Center (EAC). Click servers in the feature pane and follow with certificates in the tabs. Click on the Let's Encrypt certificate in the list view.

How do I fix Letsencrypt root certificate?

Fixing the ChainReboot your server and wait for a few moments. Check again using the OpenSSL command, if root certificate has the following header, it means that it has been successfully replaced. If not, you need to change the deployed certificate manually.


2 Answers

At this time Modulus does not support Let's Encrypt. However, this summer (summer 2016) we will be adding support for this.


Edit: as of July 28, 2016 we have enabled Let's Encrypt for our Public Cloud.

You can enable this by going to your project dashboard, then the 'administration' section of your dashboard, then select Enable Let's Encrypt.

You just have to click the button. That's it. We automatically renew the cert for you and everything.

More information on Let's Encrypt for our platform can be found here.

like image 144
David Berger Avatar answered Oct 21 '22 19:10

David Berger


LetsEncrypt is a tool that simply generates certs and keys. Some of the magic is in the clients that can auto regenerate when certs expire but there is nothing stopping you from doing it yourself by hand. Be aware though that LetsEncrypt issues certs that expire in 90 days so you will have to repeat this process frequently until Modulus supports a client.

Install LetsEncrypt

$ git clone https://github.com/letsencrypt/letsencrypt
$ cd letsencrypt
$ ./letsencrypt-auto

Note: At the time of this writing Mac OS X support is very experimental. To ensure this installs correctly you may want to use a Linux distro

Generate SSL Cert:

$ ./letsencrypt-auto certonly --standalone -d example.com

Copy into modulus admin

# pbcopy is a Linux command that will copy the contents of a file to your clipboard
$ pbcopy < /etc/letsencrypt/live/example.com/privkey.pem
$ pbcopy < /etc/letsencrypt/live/example.com/cert.pem

Note: You may need to create a bundle before copying. Instructions can be found here.

like image 30
Baer Avatar answered Oct 21 '22 19:10

Baer