Jexus Standalone version of HTTPS configuration

Source: Internet
Author: User
Tags ssl certificate

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.