<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Dobesland - Latest Comments in Getting an SSL private key into glassfish | Dobesland</title><link>http://dobesland.disqus.com/</link><description>Dobes Vandermeer's blog - software engineering, java programming, enlightenment</description><atom:link href="https://dobesland.disqus.com/getting_an_ssl_private_key_into_glassfish_dobesland/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 22 Oct 2008 19:22:13 -0000</lastBuildDate><item><title>Re: Getting an SSL private key into glassfish | Dobesland</title><link>http://www.dobesland.com/2008/07/02/getting-an-ssl-private-key-into-glassfish/#comment-3243224</link><description>&lt;p&gt;Yes, very nice.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dobes_vandermeer</dc:creator><pubDate>Wed, 22 Oct 2008 19:22:13 -0000</pubDate></item><item><title>Re: Getting an SSL private key into glassfish | Dobesland</title><link>http://www.dobesland.com/2008/07/02/getting-an-ssl-private-key-into-glassfish/#comment-3238042</link><description>&lt;p&gt;Yes, it's new in java 1.6. Cool eh?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neil Davis</dc:creator><pubDate>Wed, 22 Oct 2008 17:04:34 -0000</pubDate></item><item><title>Re: Getting an SSL private key into glassfish | Dobesland</title><link>http://www.dobesland.com/2008/07/02/getting-an-ssl-private-key-into-glassfish/#comment-3235788</link><description>&lt;p&gt;Is that a new feature of 1.6?  I suppose using openssl I can convert a&lt;br&gt;any key file into pkcs12, so that's good news.  Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dobes_vandermeer</dc:creator><pubDate>Wed, 22 Oct 2008 15:41:22 -0000</pubDate></item><item><title>Re: Getting an SSL private key into glassfish | Dobesland</title><link>http://www.dobesland.com/2008/07/02/getting-an-ssl-private-key-into-glassfish/#comment-3235519</link><description>&lt;p&gt;Well, if you have a pkcs12 file (containing the public/private keypair), then with Java 1.6 its simple&lt;/p&gt;&lt;p&gt;keytool -importkeystore -destkeystore MyKeyStore -srckeystore s1as.pkcs12 -srcstoretype PKCS12&lt;br&gt;keytool -list -v -alias s1as -keystore MyKeyStore &lt;br&gt;Enter keystore password:  &lt;br&gt;Alias name: s1as&lt;br&gt;Creation date: Oct 22, 2008&lt;br&gt;Entry type: PrivateKeyEntry&lt;br&gt;Certificate chain length: 1&lt;br&gt;Certificate[1]:&lt;br&gt;Owner: CN=localhost, OU=Sun Java System Application Server, O=Sun Microsystems, L=Santa Clara, ST=California, C=US&lt;br&gt;Issuer: CN=localhost, OU=Sun Java System Application Server, O=Sun Microsystems, L=Santa Clara, ST=California, C=US&lt;br&gt;Serial number: 8b01b8a8&lt;br&gt;Valid from: Mon Sep 29 20:21:15 BST 2008 until: Sat Sep 29 20:21:15 BST 2018&lt;br&gt;Certificate fingerprints:&lt;br&gt;	 MD5:  49:FC:9F:F2:99:7F:DE:DB:08:D4:44:4D:F7:64:DA:D2&lt;br&gt;	 SHA1: AF:78:40:E1:56:37:37:53:E7:1E:3D:98:AD:5D:4B:60:6C:19:EE:CE&lt;br&gt;	 Signature algorithm name: MD5withRSA&lt;br&gt;	 Version: 3&lt;/p&gt;&lt;p&gt;So, yes you can import a private key into a java keystore.....&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neil Davis</dc:creator><pubDate>Wed, 22 Oct 2008 15:27:14 -0000</pubDate></item></channel></rss>