First, the environment
Version 1.jexus: 5.8.1 standalone version
2. Operating system: CENTOS7
Jexus Standalone version is free of installation and built-in mono, so it can be used with decompression.
Ii. preparatory work
1. Generate private key +. CSR
Website: HTTP://WEB.CHACUO.NET/NETSSLCSR
2. Purchase SSL Certificate
III. deployment
1. First check the System library folder such as "/lib" or "/usr/lib" for the name of the SSL library file, which should be "libssl.so. Version number" (Find/-name libssl.so.*), if the file name is not listed, To prove that your system has not yet installed OpenSSL, please install and then operate.
Find /-name libssl.so.*
2. If you find the result,
3. Go to Jexus Extract directory
cd/usr/local/jexusls
4. Enter the mono Lib directory
CD Runtime ls cd Lib
5. Create a soft link for the found SSL library into the mono Lib directory
Ln -s/usr/lib64/libssl.so. Ten libssl.so
Remark:/usr/lib64/libssl.so. It is the absolute path of the native search, not the path of the dead
6. Complete the certificate and private key file name into the JWS configuration file.
In the Jexus folder, open "jws.conf" and add the following two sentences:
certificatefile= certificate file path and file name
certificatekeyfile= private key file path and file name
7. HTTPS function of the website
port=443
Enable https:
usehttps=true
8. Restart Jexus
./jws Restart
9. Enter https://xxx.com test
Jexus Standalone version of HTTPS configuration