Application gateway with SSL
Closed this issue · 9 comments
Hi dear,
I use azure_rm with module 'azure_rm_appgateway' for configuration the Azure Application Gateway, but how insert certificate SSL in ''authentication_certificates / data '?
I have a file certificate.cer or certificate.pfx, but I don`t know import certificate in this module.
@Tomelin Thanks for your open this issue. We will investigate this issue and share any update with you.
@Tomelin Perhaps you can introduce your credentials this way, Please try! Thank you very much!
authentication_certificates:
- name: cert1
data: "{{ lookup('file', 'cert1.txt') }}"
ssl_certificates:
- name: cert2
password: your-password
data: "{{ lookup('file', 'cert2.txt') }}"
kindly ping
Sorry for delay, but my tests is not work:
This return error:
An unhandled exception occurred while running the lookup plugin 'file'. Error was a <type 'exceptions.UnicodeDecodeError'>, original message: 'utf8' codec can't decode byte 0x82 in position 1: invalid start byte
The module not know certificate, because is not encode.
Thanks,
But how to generate the certificate this format?
Have you example?