Skip to content
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

Example does not work with openssl 3.0.2 #12

Open
ardabeyazoglu opened this issue Apr 17, 2023 · 0 comments
Open

Example does not work with openssl 3.0.2 #12

ardabeyazoglu opened this issue Apr 17, 2023 · 0 comments

Comments

@ardabeyazoglu
Copy link

ardabeyazoglu commented Apr 17, 2023

Hi,

I get following error when i run examples/create_one_root_one_cert.sh :

+ echo 'Demostrator for a single typical self-hosted server.'
Demostrator for a single typical self-hosted server.
+ echo

+ TCAM=../tls-ca-manage.sh
+ TCEM=../tls-cert-manage.sh
+ echo 'Creating Root CA certificate ...'
Creating Root CA certificate ...
+ ../tls-ca-manage.sh create -b /var/mycompany/ssl -t root MyCaRoot

/var/mycompany/ssl/etc/MyCaRoot-ca.cnf file is missing, recreating ...
Organization (default: 'ACME Networks'): 
Org. Unit/Section/Division:  (default: 'Trust Division'): 
Common Name:  (default: 'ACME Internal Root CA A1'): 
Country (2-char max.):  (default: 'US'): 
State:  (default: ''): 
Locality/City:  (default: ''): 
Contact email:  (default: 'ca.example@example.invalid'): 
Base URL:  (default: 'http://example.invalid/ca'): 
CRL URL:  (default: 'http://example.invalid/ca/example-crl.crt'): 
Creating /var/mycompany/ssl/etc/MyCaRoot-ca.cnf file for MyCaRoot...
Created Parent CA /var/mycompany/ssl/etc/MyCaRoot-ca.cnf file
.+.+...+..+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.....+............+....+.........+.....+.......+...+...........+.........+.+...........+...+.........+...........................+......+.........+....+.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.....................+..+.+..............+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+..+.+......+.....+....+..+.......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+.....+.......+........+....+...+..+....+..+............+.+.........+....................+...+....+........+.+.................+....+........+.......+......+........+.......+..+.+...........................+........+....+...........+..........+.........+.....+.......+.........+.........+...+............+...........+.+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Error checking request extension section MyCaRoot_root__reqext
80EB3D327D7F0000:error:1100006C:X509 V3 routines:X509V3_parse_list:invalid empty name:../crypto/x509/v3_utl.c:383:
80EB3D327D7F0000:error:11000069:X509 V3 routines:do_ext_nconf:invalid extension string:../crypto/x509/v3_conf.c:102:name=keyUsage,section=
80EB3D327D7F0000:error:11000080:X509 V3 routines:X509V3_EXT_nconf_int:error in extension:../crypto/x509/v3_conf.c:48:section=MyCaRoot_root__reqext, name=keyUsage, value=
Error 1 in 'openssl req'; aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant