For AI agents: the complete documentation index is available at https://www.jumpserver.com/docs/v4/llms.txt, the full documentation bundle is available at https://www.jumpserver.com/docs/v4/llms-full.txt, and this page is available as Markdown at https://www.jumpserver.com/docs/v4/enable-https.md.
๐ŸŽ‰ JumpServer v4.10.20 is available. See what's new โ†’

Enable HTTPS

This topic explains how to configure HTTPS for the JumpServer service to ensure encrypted and secure communication.

1

Log in to the JumpServer deployment server using the "root" or another user with superuser privileges.

2

Place your certificate files in the following directory:

/opt/jumpserver/config/nginx/cert

Ensure the certificate files are named as follows:

  • server.crt
  • server.key
3

Edit the config.txt file and modify the following configuration settings.

vi /opt/jumpserver/config/config.txt

Change "demo.example.com" to your actual domain name.

HTTPS_PORT=443
SERVER_NAME=demo.example.com
SSL_CERTIFICATE=server.crt
SSL_CERTIFICATE_KEY=server.key
4

Change to the "JumpServer offline package" directory and run the command to restart the service.

./jmsctl.sh restart
5

Completed.