Forum OpenACS Development: ssl setup

Posted by Raul Rodriguez on
I installed openacs and naviserver on Ubuntu 14.04 using the scripts here:

I did not find any documentation on how to setup ssl on openacs/naviserver. Does anyone have any information on this?

Thank you

2: Re: ssl setup (response to 1)
Posted by Iuri Sampaio on
NS already comes with nsssl built in.

Do you have SSL certificates already?

If so, you just need to edit your oacs config file for NS. On ubuntu installation the filename is usually as in "oacs-config.tcl"

Uncomment line 549
#if {[info exists address_v4]} ...

and modify paths to your certs, at line 424
ns_param certificate $serverroot/etc/

lines may vary depending on oacs-config.tcl

Be aware of .pem format file. IT must be fullchain plus private key.

Best wishes

3: Re: ssl setup (response to 1)
Posted by Gustaf Neumann on
The documentation of the NaviServer modules is in NaviServer. I've just now updated the sample config file of NaviServer for OpenACS (used in the scripts) to require just setting the https port in the top section [2]. This will be included in the next NaviServer release. You might consider using the new letsencrypt module of NaviServer [3] for obtaining a certificate.

All the best


4: Re: ssl setup (response to 3)
Posted by Raul Rodriguez on
I was able to create a cert, via the nsssl instructions, that worked for the server in my internal network.

Thank you