Buildfile: build.xml setup: create-sample-jks-cert: setdefaultmode: [echo] So you are using Platform Edition print-props: [echo] admin.user=admin [echo] admin.port=4848 [echo] admin.domain=domain1 [echo] appserver.instance.name=server setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: [echo] Workaround for early v3: create directories... setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: create-cert-jks: [echo] Create certificate in clientcert.jks ... setdefaultmode: [echo] So you are using Platform Edition print-props: [echo] admin.user=admin [echo] admin.port=4848 [echo] admin.domain=domain1 [echo] appserver.instance.name=server setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: [echo] Workaround for early v3: create directories... setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: list-cert-jks: [echo] *** Listing of certificates in clientcert.jks *** [exec] Keystore type: JKS [exec] Keystore provider: SUN [exec] Your keystore contains 1 entry [exec] Alias name: clientcert [exec] Creation date: Jun 25, 2009 [exec] Entry type: PrivateKeyEntry [exec] Certificate chain length: 1 [exec] Certificate[1]: [exec] Owner: EMAILADDRESS=jagadesh.munta@sun.com, CN=Jagadesh Munta, UID=munta, OU=Java Software, O=Sun Microsystems Inc, C=US [exec] Issuer: EMAILADDRESS=jagadesh.munta@sun.com, CN=Jagadesh Munta, UID=munta, OU=Java Software, O=Sun Microsystems Inc, C=US [exec] Serial number: 4a441177 [exec] Valid from: Thu Jun 25 17:08:23 PDT 2009 until: Wed Sep 23 17:08:23 PDT 2009 [exec] Certificate fingerprints: [exec] MD5: D7:5A:45:46:B8:A5:51:5C:63:19:DA:9E:57:89:44:CB [exec] SHA1: AB:AE:F2:B0:37:85:B0:A6:D6:CC:18:62:A7:76:33:E1:2B:A1:23:D5 [exec] Signature algorithm name: SHA1withDSA [exec] Version: 3 [exec] ******************************************* [exec] ******************************************* setdefaultmode: [echo] So you are using Platform Edition print-props: [echo] admin.user=admin [echo] admin.port=4848 [echo] admin.domain=domain1 [echo] appserver.instance.name=server setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: [echo] Workaround for early v3: create directories... setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: set-appserver-version: est-cert-trust: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: est-cert-trust-pe: setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: export-cert-rfc-jks: [echo] Export certificate from clientcert.jks in rfc format ... [exec] Certificate stored in file setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: import-cert-jks: [echo] Installing certificate in /export/sonia/v3/glassfishv3/glassfish/domains/domain1/config/cacerts.jks ... [exec] Certificate was added to keystore setdefaultmode: setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: est-cert-trust-ee: create-auth-certrealm: setdefaultmode: [echo] So you are using Platform Edition print-props: [echo] admin.user=admin [echo] admin.port=4848 [echo] admin.domain=domain1 [echo] appserver.instance.name=server setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: [echo] Workaround for early v3: create directories... setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: create-auth-realm: [echo] Creating auth realm certrealmperapp ... [exec] create-auth-realm --echo=true --terse=false --port=4848 --host=localhost --passwordfile=/export/sonia/appserver-sqe/build-config/adminpassword.txt --classname=com.sun.enterprise.security.auth.realm.certificate.CertificateRealm --target=server --property=assign-groups=group1,group2:jaas-context=certificateRealm --user=admin certrealmperapp [exec] Command create-auth-realm executed successfully. setdefaultmode: [echo] So you are using Platform Edition print-props: [echo] admin.user=admin [echo] admin.port=4848 [echo] admin.domain=domain1 [echo] appserver.instance.name=server setOSConditions: setToolWin: setToolUnix: setToolProperty: setS1ASclassPath: [echo] Workaround for early v3: create directories... setS1AS80classPath: setS1WSclassPath: setJWSDPclassPath: setTimeStamp: init-password-file: init-common: init-password-file: create-password-file: create-report-dir: enable-iiop-ssl-client-auth: [echo] Enable ssl client auth for iiop-service ... [exec] set --echo=true --terse=false --port=4848 --host=localhost --passwordfile=/export/sonia/appserver-sqe/build-config/adminpassword.txt --user=admin server.iiop-service.iiop-listener.SSL.ssl.client_auth_enabled=true [exec] iiop-service.iiop-listener.SSL.ssl.client-auth-enabled=true [exec] Command set executed successfully. [exec] set --echo=true --terse=false --port=4848 --host=localhost --passwordfile=/export/sonia/appserver-sqe/build-config/adminpassword.txt --user=admin server.iiop-service.iiop-listener.SSL_MUTUALAUTH.ssl.client_auth_enabled=true [exec] iiop-service.iiop-listener.SSL_MUTUALAUTH.ssl.client-auth-enabled=true [exec] Command set executed successfully. BUILD SUCCESSFUL Total time: 19 seconds