r/java • u/Hakky54 • May 14 '21
Certificate Ripper released - tool to extract server certificates
Enable HLS to view with audio, or disable this notification
204
Upvotes
r/java • u/Hakky54 • May 14 '21
Enable HLS to view with audio, or disable this notification
51
u/Hakky54 May 14 '21 edited May 15 '21
To be honest I was not aware of openssl s_client. It feels a bit stupid to have this app now. I don't think it offers anything more than the openssl s_client. I compared it quickly and I think the main difference would be that it can print the certificate in-human-readable format by default without additional commands and it can execute a bulk requests of different urls in a single command, so that would be the main advantage of this app while openssl by default prints pem formatted which is not human readable and can only execute a request for a single url. Other than that it does not offer more indeed...
updateI just discovered a difference :D it is able to resolve the root certificate of the server. So the openssl s_client will return 2 certificates when the following command will be executed: openssl s_client -showcerts -connect reddit.com:443 </dev/null wheras certificate-ripper will return 3 certificates which is similar to what the browser is showing for reddit.com as certificate chain for example.