Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Works as designed
-
Affects Version/s: None
-
Fix Version/s: EJBCA 6.15.2, EJBCA 7.0.1
-
Component/s: None
-
Labels:
-
Epic Link:
Description
Added some logging to the SCP Publisher and got this:
[org.ejbca.scp.publisher.ScpPublisher] (default task-2) Private key password is: . Properties:
{scp.privatekey.password=5550185bb1970ad66a3d65c5732e0f15, crl.scp.destination=localhost:/tmp/, signing.ca.id=-1, ssh.username=realiserad, scp.privatekey=/opt/wildfly/scp/key, scp.knownhosts=/opt/wildfly/scp/known_hosts, anonymize.certificates=true, cert.scp.destination=localhost:/tmp/}The SCP Publisher loads the encrypted password 5550185bb1970ad66a3d65c5732e0f15 = aes256(foo123) and decrypts it to an empty string?
Then the SCP Publisher fails miserably.