#### Expected behavior

Tell us what should happen

#### Actual behavior
can't generate ca key using the open ssl cnf file suggested 

#### Steps to reproduce
$ mkdir my-ca
$ cd my-ca
$ wget 
https://github.com/apache/incubator-pulsar/tree/master/site2/website/static/examples/openssl.cnf
$ export CA_HOME=$(pwd)

mkdir certs crl newcerts private
$ chmod 700 private/
$ touch index.txt
$ echo 1000 > serial
$ openssl genrsa -aes256 -out private/ca.key.pem 4096
$ chmod 400 private/ca.key.pem
$ **openssl req -config openssl.cnf -key private/ca.key.pem \
      -new -x509 -days 7300 -sha256 -extensions v3_ca \
      -out certs/ca.cert.pem**
How can we reproduce the issue

#### System configuration
**Pulsar version**: 2.1


 openssl req -config openssl.cnf -key private/ca.key.pem \
>       -new -x509 -days 7300 -sha256 -extensions v3_ca \
>       -out certs/ca.cert.pem
**error on line 153 of openssl.cnf
140172073654160:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing 
equal sign:conf_def.c:345:line 153**



[ Full content available at: 
https://github.com/apache/incubator-pulsar/issues/2533 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to