EJBCA installation configuration (transfer)

xiaoxiao2021-03-06  113

EJBCA installation configuration

In these two days, I learned EJBCA, and Into the process of installing the configuration, in fact, there is nothing new, basically the same as the install guide content in the EJBCA release package, but I use Chinese narrative.

Installation Process Using Software and Its Version: EJBCA3J2SDK1.4.1_07Mysql-4.0.20A-WinJBoss-3.2.5Mysql-Connector-Java-3.0.8-Stable-bin.jarjce_Policy-1_4_2ant 1.6.1

Here you need to emphasize JCE. When I was installed, I was conducted in accordance with the Guide of Install Guide. Because INSTALL Guide did not mention the JCE, after I installed, the JBoss was always reported at an error. Later, Google, install the JCE according to the experience of the former person (: P), simultaneously delete all HSQL * .xml under JBoss, JBOOS can start and run EJBCA. As for the JCE's credit or because of the role of HSQL * .xml, I have not studying itself, interested in classmates study.

installation steps:

1, install JDK, JBoss, Ant, MySQL, I am not coming;

2, set the environment variable Java_Home, JBoss_Home, Ant_Home, Path, ClassPath, set it according to your actual environment.

3, unzip EJBCA3

4, configure mysql: create Database EJBCA, and give the OCSper / 123456 full permissions (in fact the Database name, username / password relationship is not big, just how to take it).

Then execute ant replaceds -dejbca.ds = java: / defaultds, enter MySQL according to the prompt.

5. Release: Execute Ant Deploy

6, COPY mysql-connection-java-3.0.8-stable-bin.jar to $ jboss_home / server / default / lib /, copy doc / mysql-ds.xml to $ jboss_home / server / default / deploy /

7. Modify mysql-ds.xml to modify the database connection parameters to your actual connection parameters, modify $ jboss_home / server / default / conf / standardjbosscmp-jdbc.xml, $ jboss_home / server / default / conf / standardjaws.xml , which will

Value changed to mysql

8, delete all HSQL * .xml files under jboss

9, run JBOSS, you should be OK.

10. Execute EJBCA Install, follow the guide step by step, there is nothing to pay attention to, but CN is best consistent with your machine name.

Everything is OK, you can use https: // localhost: 8443 / EJBCA / AdminWeb to access, the application certificate can pass http: // localhost: 8080 / EJBCA / PublicWeb

转载请注明原文地址:https://www.9cbs.com/read-97576.html

New Post(0)