diafygi / diafygi/gethttpsforfree

Error on validating CSR with "critical" in subjectAlternativeName

Open
#98 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
277
PR merge metrics
No merged PRs in 30d

Description

Generate a CSR that marks the extension as critical:

```
openssl req -new -sha256 -key domain.key -subj "/" \
-reqexts SAN -config <(cat /etc/ssl/openssl.cnf \
<(printf "[SAN]\nsubjectAltName=critical,DNS:foo.com,DNS:www.foo.com"))
```

When pressing "Validate CSR", the following error appears:

```
Error: Failed validating CSR
```

Please, see https://www.openssl.org/docs/manmaster/apps/x509v3_config.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.