Skip to content

Instantly share code, notes, and snippets.

@djave-co
Last active April 27, 2017 11:34
Show Gist options
  • Save djave-co/0f0bcb6d29e3295fa492350c6352c0a3 to your computer and use it in GitHub Desktop.
Save djave-co/0f0bcb6d29e3295fa492350c6352c0a3 to your computer and use it in GitHub Desktop.
Fix the SSL on a new Wordpress roots site

SSH into Trellis server and delete the CSRs in

/var/lib/letsencrypt/csrs

SSH into Trellis server and delete the certs in

/etc/nginx/ssl/letsencrypt

Set ssl

enabled: false

in

group_vars/<environment>/wordpress_sites.yml

Run

ansible-playbook server.yml -e env=<environment> --tags wordpress

Set ssl

enabled: true

in

group_vars/<environment>/wordpress_sites.yml

Run

ansible-playbook server.yml -e env=<environment> --tags letsencrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment