diff --git a/hack/tools/update-tls-profiles.sh b/hack/tools/update-tls-profiles.sh index 8fa61c43ee..29b8d8790a 100755 --- a/hack/tools/update-tls-profiles.sh +++ b/hack/tools/update-tls-profiles.sh @@ -8,7 +8,7 @@ if [ -z "${JQ}" ]; then fi OUTPUT=internal/shared/util/tlsprofiles/mozilla_data.go -INPUT=https://ssl-config.mozilla.org/guidelines/latest.json +INPUT=https://ssl-config.mozilla.org/guidelines/5.8.json TMPFILE="$(mktemp)" trap 'rm -rf "$TMPFILE"' EXIT @@ -38,7 +38,7 @@ cipherNums: []uint16{ EOF ${JQ} -r ".configurations.$1.ciphersuites.[] | . |= \"tls.\" + . + \",\"" ${TMPFILE} >> ${OUTPUT} - ${JQ} -r ".configurations.$1.ciphers.go[] | . |= \"tls.\" + . + \",\"" ${TMPFILE} >> ${OUTPUT} + ${JQ} -r ".configurations.$1.ciphers.iana[] | . |= \"tls.\" + . + \",\"" ${TMPFILE} >> ${OUTPUT} cat >> ${OUTPUT} <