Skip to content

Commit

Permalink
Change openssl.cnf to use correct OIDs for newer openssl versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tbart authored Dec 17, 2023
1 parent c05ffc4 commit 97db39f
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions certs/openssl.cnf
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
oid_section = new_oids

[ new_oids ]

# RFC 3920 section 5.1.1 defines this OID
xmppAddr = 1.3.6.1.5.5.7.8.5

# RFC 4985 defines this OID
SRVName = 1.3.6.1.5.5.7.8.7

[ req ]

default_bits = 4096
Expand Down Expand Up @@ -43,10 +33,10 @@ subjectAltName = @subject_alternative_name
# See http://tools.ietf.org/html/draft-ietf-xmpp-3920bis#section-13.7.1.2 for more info.

DNS.0 = example.com
otherName.0 = xmppAddr;FORMAT:UTF8,UTF8:example.com
otherName.0 = XmppAddr;FORMAT:UTF8,UTF8:example.com
otherName.1 = SRVName;IA5STRING:_xmpp-client.example.com
otherName.2 = SRVName;IA5STRING:_xmpp-server.example.com

DNS.1 = conference.example.com
otherName.3 = xmppAddr;FORMAT:UTF8,UTF8:conference.example.com
otherName.3 = XmppAddr;FORMAT:UTF8,UTF8:conference.example.com
otherName.4 = SRVName;IA5STRING:_xmpp-server.conference.example.com

0 comments on commit 97db39f

Please sign in to comment.