CiscoDevNet / stealthwatch-data-exporter

Reference implementation of a Stealthwatch Data Exporter
MIT License
12 stars 4 forks source link

Subject does not start with '/'. #6

Open habogdan opened 5 years ago

habogdan commented 5 years ago

Hi! I tried to follow the installation guide and I stopped at the point where I had to generate the certificates. Can you please help me pass this error?

`$ bin/generate-certs-and-keystore flow-collector-ip-or-hostname

The Certificate Authority private key

openssl genrsa \ -des3 \ -passout pass:${data_exporter_certificate_authority_password} \ -out ${data_exporter_certificate_authority_name}.key \ 4096 Generating RSA private key, 4096 bit long modulus ..................++ .................................................................................++ e is 65537 (0x10001)

The Certificate Authority X509 Certificate

openssl req \ -new \ -x509 \ -days 365 \ -key ${data_exporter_certificate_authority_name}.key \ -passin pass:${data_exporter_certificate_authority_password} \ -subj "/C=US/ST=California/L=San Jose/O=Cisco/OU=DevNet/CN=cisco.com" \ -out ${data_exporter_certificate_authority_name}.crt Subject does not start with '/'. problems making Certificate Request `

skoky commented 3 years ago

Make sure you have JDK8. Also replace flow-collector-ip-or-hostname with you FC IP address