Module: kamailio Branch: master Commit: 6490d95a7b07e449705373de74825dc7792d451e URL: https://github.com/kamailio/kamailio/commit/6490d95a7b07e449705373de74825dc7...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2015-08-12T08:39:00+02:00
tls: install-cfg: do not generate tls-cert by default
---
Modified: modules/tls/Makefile Modified: modules/tls/doc/history.xml
---
Diff: https://github.com/kamailio/kamailio/commit/6490d95a7b07e449705373de74825dc7... Patch: https://github.com/kamailio/kamailio/commit/6490d95a7b07e449705373de74825dc7...
---
diff --git a/modules/tls/Makefile b/modules/tls/Makefile index 167863d..c6969c1 100644 --- a/modules/tls/Makefile +++ b/modules/tls/Makefile @@ -40,7 +40,10 @@ include ../../Makefile.modules install-tls-cert: $(cfg_prefix)/$(cfg_dir) MAIN_NAME=$(MAIN_NAME) ./$(SCR_NAME)_cert.sh -d $(cfg_prefix)/$(cfg_dir)
-install-cfg: install-tls-cert +install-cfg: + @if ! [ -d $(cfg_prefix)/$(cfg_dir) ]; then \ + mkdir -p "$(cfg_prefix)/$(cfg_dir)" ; \ + fi @$(call try_err, $(INSTALL_TOUCH) \ "$(cfg_prefix)/$(cfg_dir)tls.cfg.sample" ) @sed -e "s#/usr/local/etc/kamailio/#$(cfg_target)#g" \ diff --git a/modules/tls/doc/history.xml b/modules/tls/doc/history.xml index 627fe55..418e04b 100644 --- a/modules/tls/doc/history.xml +++ b/modules/tls/doc/history.xml @@ -29,5 +29,10 @@ The code is currently maintained by Andrei Pelinescu-Onciul <email>andrei@iptel.org</email>. </para> + <para> + Install does not generate self-signed certificates by default + anymore. In order to generate them now you should do + "make install-tls-cert" + </para> </section> </section>