How To Create HCP HTTPS SSL Cert
How To Create HCP HTTPS SSL Cert
0 Date: 03/21/2023
Product: HikCentral Professional Page: 1 of 7
Preparation
1) OpenSSL
2) OpenSSL.cnf (config file)
3) HCP testing environment
Note:
It can be multiple IP and DNS. (Eg. IP.2= & DNS.2=)
4. Command in CMD
1) SET OPENSSL CONF=D:\Hikvision\Cert/openssl.cnf
2) cd /d D:\Hikvision\Cert\
3) openssl req -new -nodes -newkey rsa:2048 -keyout demo.key -out demo.csr
4) sg
5) Fill detail
Eg.
State or Province Name : Singapore
Locality Name : Singapore
Organization Name : Hikvision
Organizational Unit Name : Technical Support
Common Name : fake DNS example: pcname.hikvision.com
Email Address : [email protected]
Password: abcd1234
6) openssl x509 -signkey demo.key -in demo.csr -req -days 365 -out demo.pem -extfile
openssl.cnf -extensions v3_ca
Note:
365 is the cert expiry perior, it can be change & In “D:\Hikvision\Cert\” will have 4 files in total.
5. Update Key
1) Copy entire key from demo.key and paste it to demo.pem
2) As screenshot below:
Note:
Remember to save the demo.pem
Important Note:
HCP SYS Service will restart after Save
Note:
Access to IP.1 or DNS.1 shoudn’t prompt not secure for 365days