Skip to content

Commit

Permalink
Add host.docker.internal SAN to Docker server certs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmartin committed Jul 20, 2020
1 parent 86fa0bf commit 5180717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/pico-docker/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ srv_key : "{{ key_dir }}/server-key.pem"
srv_csr : "{{ key_dir }}/server.csr"
srv_crt : "{{ key_dir }}/server.pem"
server_CN : "{{ ansible_host }}"
server_SAN : "DNS:localhost,IP:127.0.0.1,{{ host_type }}:{{ ansible_host }}"
server_SAN : "DNS:localhost,DNS:host.docker.internal,IP:127.0.0.1,{{ host_type }}:{{ ansible_host }}"

user : "{{ ansible_user }}"

Expand Down

0 comments on commit 5180717

Please sign in to comment.