summaryrefslogtreecommitdiff
path: root/hack/generate-test-certs.sh
Commit message (Collapse)AuthorAgeFilesLines
* hack: add script to regenerate certificatesSebastiaan van Stijn2021-05-181-0/+87
Certificates were originally added in c000cb64712349141596318dea2a8de2462c8f81, but did not include a script to generate them. Current versions of Go expect certificates to use SAN instead of Common Name fields, so updating the script to include those; x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0 Some fields were updated to be a bit more descriptive (instead of "replaceme"), and the `-text` option was used to include a human-readable variant of the content. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>