Hello,
> When I ssh into a box it presents me with a rsa finger print as below:
>
> The authenticity of host 'samplehost (xxx.xxx.xxx.xxx)' can't be
> established.
> RSA key fingerprint is 2f:e4:d2:75:5a:a1:55:b4:42:54
> :69:91:72:dd:72:4a
>
> I'd like to confirm which certificate is being used on this box. To do
> this I've logged into the box and I've been trying to generate the
> same fingerprint from a certificate file. I'm pretty sure the
> certificate file in question is /opt/apache/conf/ssl.crt/server.crt
> but running the following command gives the sha1 fingerprint. Is there
> a way to get the RSA fingerprint? Or is there something else I can
> try?
>
> openssl x509 -noout -fingerprint -in server.crt
> SHA1
> Fingerprint=6B:41:50:43:6A:E9:26:CB:66:98:19:20:42:11:BF:9E:68:AA:E0:34
On Linux you may try on ssh server:
# ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub
Best regards,
--
Marek Marcola <[EMAIL PROTECTED]>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]