dumping SSL certificate of a webpage

2007-04-17 Thread M.Zdila/EpiSoftware Ltd.
Hello I couldn't find out how to get a PEM file if I have a https://url. In Konqueror I am able to export certificates from Peer SSL Certificates tab, but I'd like to be able to get it also with openssl command. Thanks in advance :-) Regards -- Martin Zdila Analyst/Developer EpiSoftware

Re: dumping SSL certificate of a webpage

2007-04-17 Thread M.Zdila/EpiSoftware Ltd.
hi thanks for reply. actually, i know about this method but i don't consider it as very clean. any native method? :-) On Tuesday 17 April 2007 13:32:36 Marek Marcola wrote: Hello, I couldn't find out how to get a PEM file if I have a https://url. In Konqueror I am able to export

Re: dumping SSL certificate of a webpage

2007-04-17 Thread Marek Marcola
Hello, I couldn't find out how to get a PEM file if I have a https://url. In Konqueror I am able to export certificates from Peer SSL Certificates tab, but I'd like to be able to get it also with openssl command. After command: % openssl s_client -connect url:443 -showcerts

Re: dumping SSL certificate of a webpage

2007-04-17 Thread Victor B. Wagner
On 2007.04.17 at 16:17:03 +0200, M.Zdila/EpiSoftware Ltd. wrote: hi i would like to use it in bash script so the certificate would be saved to a cert.pem and then imported to java keystore using keytool. possible? Use openssl s_client command, and then something like sed or awk to extract

Re: dumping SSL certificate of a webpage

2007-04-17 Thread M.Zdila/EpiSoftware Ltd.
great. thanks victor. i need this cert to import to keystore because that https is an webservice with self signed certificate and i need axis to treat it as trusted. On Tuesday 17 April 2007 17:15:04 Victor B. Wagner wrote: On 2007.04.17 at 16:17:03 +0200, M.Zdila/EpiSoftware Ltd. wrote: hi

Re: dumping SSL certificate of a webpage

2007-04-17 Thread M.Zdila/EpiSoftware Ltd.
hi i would like to use it in bash script so the certificate would be saved to a cert.pem and then imported to java keystore using keytool. possible? thanks in advance On Tuesday 17 April 2007 15:08:45 Marek Marcola wrote: Hello, actually, i know about this method but i don't consider it as

Re: dumping SSL certificate of a webpage

2007-04-17 Thread Marek Marcola
Hello, actually, i know about this method but i don't consider it as very clean. any native method? :-) Yes :-) From C you may establish SSL connection and get peer certificate with: X509 *cert = SSL_get_peer_certificate(ssl); Best regards, -- Marek Marcola [EMAIL PROTECTED]