Skip to content

Commit 930053c

Browse files
authored
Added SAN value for Browsers
1 parent ca17ba2 commit 930053c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/SSLCert.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#define HTTPS_SERVER_ERROR_CERTGEN_NAME 0x17
2828
#define HTTPS_SERVER_ERROR_CERTGEN_SERIAL 0x18
2929
#define HTTPS_SERVER_ERROR_CERTGEN_VALIDITY 0x19
30+
#define HTTPS_SERVER_ERROR_CERTGEN_CN 0x1a
3031

3132
#endif // !HTTPS_DISABLE_SELFSIGNING
3233

@@ -165,6 +166,8 @@ enum SSLKeySize {
165166
* would be:
166167
* CN=myesp.local,O=acme,C=US
167168
*
169+
* The subjectAltName is extracted from the CN component of the distinguished name.
170+
*
168171
* The strings validFrom and validUntil have to be formatted like this:
169172
* "20190101000000", "20300101000000"
170173
*

0 commit comments

Comments
 (0)