https://issues.apache.org/jira/browse/OFBIZ-1902
put this in the main build and use
ant ofbizkey
note:you may have to delete the framework/base/config/ofbizssl.jks
I am still working on taking data from the
framework/base/config/ofbiz-containers.xml
and doing a auto delete in the script.
Code Block | ||||
---|---|---|---|---|
| ||||
<target name="ofbizkey"> <echo message="[genkey] ========== Start genkey for Ofbiz main cert Key =========="/> <echo message="[genkey] ========== removing Ofbiz main cert Key =========="/> <genkey alias="ssl" storepass="changeit" keystore="framework/base/config/ofbizssl.jks" storetype="JKS" keypass="changeit" dname="CN=ofbiz.apache.org, OU=SSL Server Testing, O=Apache Open For Business, C=US, ST=Delaware, L=Dover"/> <echo message="[genkey] ========== genkey for Ofbiz main cert completed =========="/> </target> |