From 20d4ce2d27a936a98e650c581a5517cafd022471 Mon Sep 17 00:00:00 2001 From: eric Date: Wed, 30 Jan 2019 14:49:08 -0500 Subject: [PATCH] wip --- roles/regluit_prod/tasks/certs.yml | 6 +++--- roles/regluit_prod/templates/apache.conf.j2 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/regluit_prod/tasks/certs.yml b/roles/regluit_prod/tasks/certs.yml index 8388ef3..5ef6052 100644 --- a/roles/regluit_prod/tasks/certs.yml +++ b/roles/regluit_prod/tasks/certs.yml @@ -3,7 +3,7 @@ - name: Make sure account exists and has given contacts. We agree to TOS. acme_account: account_key_src: private/letsencrypt_account.key - acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory + acme_directory: https://acme-v02.api.letsencrypt.org/directory acme_version: 2 state: present terms_agreed: yes @@ -14,7 +14,7 @@ - name: Create a challenge for server_name using a account key file. acme_certificate: account_key_src: private/letsencrypt_account.key - acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory + acme_directory: https://acme-v02.api.letsencrypt.org/directory acme_version: 2 csr: "private/{{ server_name }}.csr" dest: /etc/ssl/certs/server.crt @@ -49,7 +49,7 @@ - name: Create a challenge for server_name using a account key file. acme_certificate: account_key_src: private/letsencrypt_account.key - acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory + acme_directory: https://acme-v02.api.letsencrypt.org/directory acme_version: 2 csr: "private/{{ server_name }}.csr" dest: /etc/ssl/certs/server.crt diff --git a/roles/regluit_prod/templates/apache.conf.j2 b/roles/regluit_prod/templates/apache.conf.j2 index acaffb8..3bba9eb 100644 --- a/roles/regluit_prod/templates/apache.conf.j2 +++ b/roles/regluit_prod/templates/apache.conf.j2 @@ -9,7 +9,7 @@ ServerName {{ server_name }} ServerAdmin info@ebookfoundation.org -Redirect permanent / https://{{ server_name }} +Redirect permanent / https://{{ server_name }}/