openssl s_client -showcerts -connect www.example.com:443
Which you can then go and copy from the line starting with '-----BEGIN CERTIFICATE-----' to '-----END CERTIFICATE-----' into the www.example.com.crt file.
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
openssl s_client -showcerts -connect www.example.com:443
You need to create an account or log in to post comments to this site.
» Set up apache2+SSL on FreeBSD in apache freebsd ssl openssl
» Suexec'ed PHP-FastCGI on Apa... in apache php fastcgi suexec
» Mixed example of mod_deflate... in apache mod_deflate httpd.conf
» Serve XHTML 1.1 Properly in apache httpd.conf xhtml
» Chained SSL certs in lighttpd in lighttpd ssl chainedcerts
» A simple WebDAV repository w... in apache httpd.conf webdav
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails