start of fix for setting an alias for keys in keychain. webid
authorHenry Story <henry.story@bblfish.net>
Thu, 22 Dec 2011 02:39:51 +0100
branchwebid
changeset 161 af6187231494
parent 160 7b456ecbce47
child 162 23a4ecd7b45d
start of fix for setting an alias for keys in keychain.
src/main/scala/ReadWriteWebMain.scala
--- a/src/main/scala/ReadWriteWebMain.scala	Thu Dec 22 02:28:07 2011 +0100
+++ b/src/main/scala/ReadWriteWebMain.scala	Thu Dec 22 02:39:51 2011 +0100
@@ -70,7 +70,8 @@
     val keystore = new File(System.getProperty( "netty.ssl.keyStore")).toURI.toURL
     val ksTpe = System.getProperty("netty.ssl.keyStoreType","JKS")
     val ksPass = System.getProperty("netty.ssl.keyStorePassword")
-    X509CertSigner( keystore, ksTpe, ksPass,  "selfsigned" )
+    val alias = System.getProperty("netty.ssl.keyAlias","selfsigned")
+    X509CertSigner( keystore, ksTpe, ksPass,  alias )
   }
 
   val baseURL = parser.parameter[String]("baseURL", "base URL", false)