# SSL Setup not working

**URL:** <https://forum.ghost.org/t/ssl-setup-not-working/4547>\
**Category:** Installation\
**Created:** [December 17, 2018, 12:48pm UTC](https://forum.ghost.org/t/ssl-setup-not-working/4547 "2018-12-17T12:48:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamzidoronno](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@tamzidoronno](https://forum.ghost.org/u/tamzidoronno)\
**Post date:** [December 17, 2018, 12:48pm UTC](https://forum.ghost.org/t/ssl-setup-not-working/4547/1 "2018-12-17T12:48:25Z")

</div>

I am using ghost v2.7.1  
I am having trouble to install SSL certificate via ghost CLI. Every time I run ‘ghost setup ssl’ I get the following error after providing my email :

✖ Setting up SSL  
A ProcessError occurred.

Message: Command failed: /bin/sh -c sudo -S -p ‘#node-sudo-passwd#’ /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --domain XXX.XXX.XXX–webroot /var/www/romoni-blog/system/nginx-root --reloadcmd “nginx -s reload” --accountemail [XXX.XXX.XXX@gmail.com](mailto:XXX.XXX.XXX@gmail.com)  
[Mon Dec 17 09:05:10 UTC 2018] new-authz error: {“type”:“urn:acme:error:rateLimited”,“detail”:“Error creating new authz :: too many failed authorizations recently: see [https://letsencrypt.org/docs/rate-limits/","status](https://letsencrypt.org/docs/rate-limits/%22,%22status)”: 429}  
[Mon Dec 17 09:05:10 UTC 2018] Please add ‘–debug’ or ‘–log’ to check more details.  
[Mon Dec 17 09:05:10 UTC 2018] See: [How to debug acme.sh · acmesh-official/acme.sh Wiki · GitHub](https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh)

Exit code: 1

Debug Information:  
OS: Ubuntu, v16.04  
Node Version: v8.12.0  
Ghost-CLI Version: 1.9.8  
Environment: production  
Command: ‘ghost setup ssl’

Additional log info available in: /home/romoni\_deployer/.ghost/logs/ghost-cli-debug-2018-12-17T09\_05\_10\_247Z.log

Try running ghost doctor to check your system for known issues.

I also tried manually installing SSL from CERTBOT, but they said "An unexpected error occurred:  
The request message was malformed :: Error creating new order

Now what to do? I had the same problem installing ghost into my staging server, but 3 days later it worked & got installed perfectly!

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [December 17, 2018, 4:09pm UTC](https://forum.ghost.org/t/ssl-setup-not-working/4547/2 "2018-12-17T16:09:43Z")

</div>

It looks like you set up SSL too many times in the past week or so. LetsEncrypt limits the number of times you can request a new certificate in a given time frame.

---

<div class="post-metadata">

**Author:** ![tamzidoronno](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@tamzidoronno](https://forum.ghost.org/u/tamzidoronno)\
**Post date:** [December 18, 2018, 7:23am UTC](https://forum.ghost.org/t/ssl-setup-not-working/4547/3 "2018-12-18T07:23:33Z")

</div>

So, now I have nothing to do but wait?

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [December 18, 2018, 2:08pm UTC](https://forum.ghost.org/t/ssl-setup-not-working/4547/4 "2018-12-18T14:08:20Z")

</div>

Based on the logs you posted it seems so

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [January 1, 2019, 2:08pm UTC](https://forum.ghost.org/t/ssl-setup-not-working/4547/5 "2019-01-01T14:08:21Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
