a18cd68 add Subject Alternative Name to local openssl cert

1 file Authored by santiago 3 years ago, Committed by lsm5 3 years ago,
    add Subject Alternative Name to local openssl cert
    
    Go 1.15 deprecates checking CN; this broke gating tests:
    
       Get "https://localhost:5000/v2/": x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0
    
    Easy two-line solution in the 'openssl' invocation. Huge
    thanks to Nalin for tracking down and fixing while I was
    still getting started:
    
       https://github.com/containers/buildah/pull/2595
    
    Signed-off-by: Ed Santiago <santiago@redhat.com>
    (cherry picked from commit 53b3ac8e486c9322f0aec7ad6e9ce9a928807413)
    Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
    
        
file modified
+2 -1