Recently I upgraded Gerrit from 2.12.3 to 2.14.2.
The service is running fine ,but I observed following warnings in catalina-daemon.out
Logs:
[sshd-SshServer[467fb7a9]-nio2-thread-1] WARN org.apache.sshd.common.keyprovider.FileKeyPairProvider : Failed (StreamCorruptedException) to load key resource=/home/gerritsb/gerrit/etc/ssh_host_ecdsa_key: Invalid DER: object is not an OID: SEQUENCE
[sshd-SshServer[467fb7a9]-nio2-thread-1] WARN org.apache.sshd.common.keyprovider.FileKeyPairProvider : Failed (StreamCorruptedException) to load key resource=/home/gerritsb/gerrit/etc/ssh_host_ecdsa_384_key: Invalid DER: object is not an OID: SEQUENCE
[sshd-SshServer[467fb7a9]-nio2-thread-1] WARN org.apache.sshd.common.keyprovider.FileKeyPairProvider : Failed (StreamCorruptedException) to load key resource=/home/gerritsb/gerrit/etc/ssh_host_ecdsa_521_key: Invalid DER: object is not an OID: SEQUENCE
While upgrading following keys got created under Gerrit/etc
ssh_host_ecdsa_key.pub
ssh_host_ecdsa_key
ssh_host_ecdsa_384_key.pub
ssh_host_ecdsa_384_key
ssh_host_ecdsa_521_key
ssh_host_ecdsa_521_key.pub
I am not sure how to fix this warning, any pointer would be a great help
Thanks
Zafar
Hi guysI have the same issue.(2.14.4)Is there any solution??