-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help: Problem with missing SANs #1248
Comments
FTR: Easy-RSA has never provided both a DNS and an IP as a default SAN, for a single certificate. |
I'm not sure what you mean by that statement my original request was like:
so if I then use 3.1.7 like 'easyrsa sign-req server test' then 'openssl x509 -in issued/test.crt -text' shows:
but 3,2,1 shows no SAN. |
For me that only creates a SAN with the same name as the request filename not the other two (or more) that I had in my request:
|
@g0lgs It is the responsibility of the signing CA to verify the requested attributes. If you implicitly trust the external request then use global option This can also be set in your `vars file:
Also, In future, |
@g0lgs Using |
After downloading 'easyrsa-tools.lib' into the pwd I see that it shows the SAN with all the other Details Then I get:
|
Hi, same here: A "renew" fails with an "unsupported option" error.
However, the certificate is usable and includes all configured SANs. (easyrsa 3.2.1 on Debian Trixie) |
What is the option that you are trying to use ?
The warning only indicates that the inline file is incomplete. This is not an error, only user information. |
I am using DNS name and IP address as subject alternative names in the conf file. Like this:
This works when issuing certificates but not when renewing them with "easyrsa renew hostname". BTW: For certificates without SANs, the renew command works, but it also generates the "incomplete inline file" warning. |
@g0lgs I have identified the bug which causes your error:
|
What is the option that you are trying to use ? |
As fas as I can tell my requests created with 3.1.7 were with the 'IP:192.168.1.50' form but viewing the request with 'openssl req' shows the 'IP Address:192.168.1.50' format. As a test I just created another with 3.1.7 using:
and openssl req still shows:
The same with a new request created with 3.2.1 |
Hi,
I have several Certs used for my Internal Network VM's and devices that are due to expire in the next 14 days or so, each of these appears to have been created using EasyRSA 3.1.7 (as that is waht I had on the VM I used to create them before), but if I try to re-sign the original requests with 3.2.1 then the SANs are not added to the Certs (same applies if I create a new CA and generate the same requests and sign those)
An axample from 'openssl req -in requests/test.req -text' (on original request or on a new one) is:
Any new cert created using 3.2.1 does not contain any SAN and hence Chrome / Opera (at least) refuse to accept the new Certs.
I tried adding '-verbose' option to see if I was missing anything, but that still showed no problems or errors.
If I revert back to using 3.1.7 then I get the SANs
What am I doing wrong ?
The text was updated successfully, but these errors were encountered: