Skip to content

Commit

Permalink
Merge pull request #27866 from openshift-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-27524-to-enterprise-4.5

[enterprise-4.5] BZ-1886892: Adding note to set 'GODEBUG=x509ignoreCN=0'
  • Loading branch information
bergerhoffer committed Dec 4, 2020
2 parents 23cf11f + 913c614 commit f02d626
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/installation-mirror-repository.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ ifdef::openshift-origin[]
* You have created a pull secret for your mirror repository.
endif::[]

* If you use self-signed certificates that do not set a Subject Alternative Name, you must precede the `oc` commands in this procedure with `GODEBUG=x509ignoreCN=0`. If you do not set this variable, the `oc` commands will fail with the following error:
+
[source,terminal]
----
x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0
----

.Procedure

Complete the following steps on the mirror host:
Expand Down

0 comments on commit f02d626

Please sign in to comment.