Skip to content

Example does not work with openssl 3.0.2 #12

@ardabeyazoglu

Description

@ardabeyazoglu

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: '[email protected]'): 
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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions