Skip to content

Add Native SSL Support and Tests

David G. Simmons requested to merge davidgs/commento:NativeSSL into master

router.go: Add native SSL support.

config.go: Add options for native SSL Support

config_test.go: Add tests for Native SSL Support in configuration

utils_sanitize.go: Add native SSL support by choosing between http/https

utils_sanitize_test.go: Add tests to verify SSL support

--

Native SSL support added. 2 new properties required for Native SSL:

  • COMMENTO_SSL
  • COMMENTO_SSL_CERT
  • COMMENTO_SSL_KEY

COMMENTO_SSL=true enables native SSL. Default is false

if COMMENTO_SSL=true then COMMENTO_SSL_CERT and COMMENTO_SSL_KEY must be set to the path to a valid SSL Certificate and Key pair.

Edited by David G. Simmons

Merge request reports