Imagine that you already have some valid SSL certificate (e.g. from Lets Encrypt with auto-renew, check and want to use it for your Pritun’s web panel.

Just open main file

mcedit /usr/lib/pritunl/lib/python2.7/site-packages/pritunl/

Find next strings (lines number 146-149)

        server_cert_path = os.path.join(settings.conf.temp_path,
        server_key_path = os.path.join(settings.conf.temp_path,

And replace them (or just comment with #) with

    server_cert_path = '/etc/letsencrypt/live/'
    server_key_path = '/etc/letsencrypt/live/'

And that is all.

1479 Total Views 18 Views Today

March 19th, 2016

Posted In: tricks