Hi, I am trying to make it work with a wildcard certificate. I have ready edited the "letsencryptforvtm.sh" file to change the ACMEOPTIONS to "--dns ..." and the certificate is correctly created and stored on the file system. But then I’m struggling on the last part, the importation. The following line does not like the "*" character and treat it as a wildcard. echo "Catalog.SSL.Certificates.setRawCertificate ${CERTNAME} \"$crt\" " > $CERTDIR/zcli_${CERTFILE}.script $ZCLI $CERTDIR/zcli_${CERTFILE}.script I found a way to make the wildcard work but It’s ugly and there is probable a huge room for improvement. First, you need to make the following change to the "letsencryptforvtm.sh" file: Replace: ACMEOPTIONS="--standalone --httpport 88" With: ACMEOPTIONS="--dns dns_ovh --dnssleep 240" Of course if you are not using OVH you gonna have to follow the instruction there https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert to get your file To fix the fact that VTM refuse to have a * in a certificate name: Add the following lines at the begining of the script: WLD1='c_*.' WLD2='c_\*.' WLD3='c_wildcard.' Add the following lines juste before [CERTFILE=$(echo "${CERTNAME}" | cut -d'_' -f 2)]: CERTNAME="${CERTNAME/$WLD3/$WLD1}" Add the following lines juste before the first [ echo "Catalog.SSL.Certificates ]: CERTNAME="${CERTNAME/$WLD2/$WLD3}" Then, you need to create the certificate enclosing the name in single quotes: ./letsencryptforvtm.sh --issue 'c_*.domain.com_rsa' I continue to make more test to validate everything but it's a start...
... View more