aboutsummaryrefslogtreecommitdiffstats
path: root/configs/osp.conf.sample
diff options
context:
space:
mode:
authortransnexus <transnexus@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-01 09:50:11 +0000
committertransnexus <transnexus@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-01 09:50:11 +0000
commit1d5a860962d49535bb99713ebf31f8fa3e0c6421 (patch)
tree01b80c6b4abb27073c944c9bcaf4f7dd2e0fa8d8 /configs/osp.conf.sample
parent62b79d3e26d8a77ab994d7d3598ca6e379930ecb (diff)
Made security features optional.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@191418 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/osp.conf.sample')
-rw-r--r--configs/osp.conf.sample13
1 files changed, 13 insertions, 0 deletions
diff --git a/configs/osp.conf.sample b/configs/osp.conf.sample
index e3423373d..5eccf85d5 100644
--- a/configs/osp.conf.sample
+++ b/configs/osp.conf.sample
@@ -12,14 +12,23 @@
[general]
;
; Enable cryptographic acceleration hardware.
+; The default value is no.
;
;accelerate=no
;
+; Enable security features.
+; If security features are disabled, Asterisk cannot validate signed tokens and
+; all certificate file name parameters are ignored.
+; The default value is no.
+;
+;securityfeatures=no
+;
; Defines the status of tokens that Asterisk will validate.
; 0 - signed tokens only
; 1 - unsigned tokens only
; 2 - both signed and unsigned
; The default value is 0, i.e. the Asterisk will only validate signed tokens.
+; If securityfeatures are disabled, Asterisk cannot validate signed tokens.
;
;tokenformat=0
;
@@ -43,6 +52,7 @@
; If this parameter is unspecified or not present, the default name will be the
; osp.conf section name followed by "-privatekey.pem" (for example:
; default-privatekey.pem)
+; If securityfeatures are disabled, this parameter is ignored.
;
;privatekey=pkey.pem
;
@@ -50,6 +60,7 @@
; If this parameter is unspecified or not present, the default name will be the
; osp.conf section name followed by "- localcert.pem " (for example:
; default-localcert.pem)
+; If securityfeatures are disabled, this parameter is ignored.
;
;localcert=localcert.pem
;
@@ -57,6 +68,7 @@
; a single Certificate Authority key file name is added with the default name of
; the osp.conf section name followed by "-cacert_0.pem " (for example:
; default-cacert_0.pem)
+; If securityfeatures are disabled, this parameter is ignored.
;
;cacert=cacert_0.pem
;
@@ -81,6 +93,7 @@
; 2 - EXCLUSIVE - Accept calls with valid token. Block calls with invalid token
; or no token.
; Default is 1,
+; If securityfeatures are disabled, Asterisk cannot validate signed tokens.
;
;authpolicy=1
;