Project

General

Profile

Architecture #14818

Updated by Alexis Mousset over 5 years ago

Currently we only have a keypair. Generate certificate from the existing key to allow easy signing of reports. 

 On windows, we do: 

 <pre> 
 $cmd2 = "set `"OPENSSL_CONF=$rudderBase\etc\ssl\openssl.cnf`" && `"$rudderBase\bin\openssl.exe`" req -new -sha256 -key `"$rudderBase\etc\ssl\localhost.priv`" -out `"$rudderBase\etc\ssl\localhost.cert`" -passin `"pass:Rudder-dsc passphrase`" -x509 -days 3650 -extensions agent_cert -subj `"/CN=$env:computername/UID=$guid`"" 

 </pre>

Back