[openssl-users] Syntax question for subjectAltName certificate extension?

Richard Levitte levitte at openssl.org
Sun Sep 25 19:47:03 UTC 2016


In message <57E6EC20.70706 at mathemainzel.info> on Sat, 24 Sep 2016 23:12:00 +0200, "Walter H." <Walter.H at mathemainzel.info> said:

Walter.H> Hello,
Walter.H> 
Walter.H> what is correct:
Walter.H> 
Walter.H> this:
Walter.H> subjectAltName = DNS:www.example.com, IP:127.0.0.1,
Walter.H> IP:[2001:db8:123::1]
Walter.H> 
Walter.H> or this:
Walter.H> subjectAltName = DNS:www.example.com, IP:127.0.0.1, IP:2001:db8:123::1
Walter.H> 
Walter.H> or the question in other words: do I have to put an IPv6 address of
Walter.H> the subjectAltName in []-brackets?

Without brackets.  libcrypto will figure out that it's a IPv6 address
from the presence of colons.

Cheers,
Richard

-- 
Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/


More information about the openssl-users mailing list