FortiNAC
NOTE: FortiNAC is now named FortiNAC-F. For post-9.4 articles, see FortiNAC-F. FortiNAC is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
FortiKoala
Staff
Staff
Article Id 190201
Description
Create and import self-signed SSL certificates (centOS 5).


For appliances on the centOS 7 platform, see Cookbook Recipe Install SSL Certificates in Analytics Server in the Fortinet Document Library for instructions.



Solution
1.  Login to Analytics CLI as root and type
cd /bsc/services/jboss

2.  Create the keystore file. Type
keytool -genkey -alias bradford-analytics1 -keyalg RSA -keystore ./keystore.jks

3.  Create the certificate. Type
keytool -export -alias bradford-analytics1 -storepass cchaos -file ./server.cer -keystore ./keystore.jks

4.  Import the certificate to the keystore. Type
keytool -import -v -trustcacerts -alias bradford-analytics1 -file ./server.cer -keystore ./cacerts.jks -keypass cchaos -storepass cchaos

5.  Restart the jboss server with the following command:
/etc/init.d/jboss restart

6.  Type
reboot

Contributors