FortiNAC CLI
a. SSH to the FortiNAC Server or Control Server and type
echo -n | openssl s_client -connect <appliance name>:8443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > server.cert
Example:
echo -n | openssl s_client -connect qa6-74.bradfordnetworks.com:8443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > server.cert
depth=0 CN = qa6-74.bradfordnetworks.com
verify error:num=18:self signed certificate
verify return:1
depth=0 CN = qa6-74.bradfordnetworks.com
verify return:1
DONE
b. ftp or scp file to desired location.
ftp <destination ip or name>
scp server.cert root@<location>:/<path>