Generate keystore with generated, self-signed, X.509 credential
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 27 Feb 2008 14:17:40 +0000 (14:17 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 27 Feb 2008 14:17:40 +0000 (14:17 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2668 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

build-lib/antext-27Feb2008.jar [moved from build-lib/antext-16Jan2008.jar with 52% similarity]
build.xml

similarity index 52%
rename from build-lib/antext-16Jan2008.jar
rename to build-lib/antext-27Feb2008.jar
index 318c296..f48c40b 100644 (file)
Binary files a/build-lib/antext-16Jan2008.jar and b/build-lib/antext-27Feb2008.jar differ
index c3fe829..af39285 100755 (executable)
--- a/build.xml
+++ b/build.xml
                        addproperty="idp.hostname.input"
                        defaultvalue="${idp.hostname}" />
                 <var name="idp.hostname" value="${idp.hostname.input}" />
+                
+                <input message="A keystore is about to be generated for you. Please enter a password that will be used to protect it."
+                       addproperty="idp.keystore.pass" />
 
                 <propertyfile file="install.properties">
                     <entry key="idp.home" value="${idp.home.input}" />
 
                 <regexSplit input="${idp.hostname}" regex="^.*\.(.*\..*$)" addproperty="idp.scope" />
 
-                <echo message="Generating signing and encryption key and certificate. " />
+                <echo message="Generating signing and encryption key, certificate, and keystore. " />
                 <selfSignedCert hostname="${idp.hostname}"
                                 privateKeyFile="${idp.home}/credentials/idp.key"
-                                certificateFile="${idp.home}/credentials/idp.crt" />
+                                certificateFile="${idp.home}/credentials/idp.crt"
+                                keystoreFile="${idp.home}/credentials/idp.crt"
+                                keystorePassword="${idp.keystore.pass}" />
 
                 <copy todir="${idp.home}/bin" preservelastmodified="true">
                     <fileset dir="${tools.dir}" />