ACME: using new acme-test-container (#44095)

* Using new acme-test-container image.

* Add test for cleaning account contacts.
This commit is contained in:
Felix Fontein
2018-08-14 16:35:15 +02:00
committed by Matt Clay
parent 984cc10465
commit d8d366ef37
5 changed files with 48 additions and 8 deletions

View File

@@ -87,7 +87,7 @@
when: "challenge_data is changed and challenge == 'dns-01'"
- name: ({{ certgen_title }}) Create TLS ALPN challenges
uri:
url: "http://{{ acme_host }}:5000/tls-alpn/{{ item.value['tls-alpn-01'].resource }}"
url: "http://{{ acme_host }}:5000/tls-alpn/{{ item.value['tls-alpn-01'].resource }}/der-value-b64"
method: PUT
body_format: raw
body: "{{ item.value['tls-alpn-01'].resource_value }}"
@@ -154,4 +154,8 @@
method: DELETE
with_dict: "{{ challenge_data.challenge_data }}"
when: "challenge_data is changed and challenge == 'tls-alpn-01'"
- name: ({{ certgen_title }}) Get root certificate
get_url:
url: "http://{{ acme_host }}:5000/root-certificate-for-ca"
dest: "{{ output_dir }}/{{ certificate_name }}-root.pem"
###############################################################################################