mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-23 13:58:47 +01:00
Added IgnoreURLCertErrors parameter for web-service
This commit is contained in:
parent
ef8bb21464
commit
428d423846
@ -91,6 +91,7 @@ ZBX_TLSACCEPT=unencrypted
|
|||||||
ZBX_TLSCAFILE=
|
ZBX_TLSCAFILE=
|
||||||
ZBX_TLSCERTFILE=
|
ZBX_TLSCERTFILE=
|
||||||
ZBX_TLSKEYFILE=
|
ZBX_TLSKEYFILE=
|
||||||
|
ZBX_IGNOREURLCERTERRORS=0
|
||||||
```
|
```
|
||||||
|
|
||||||
Default values of these variables are specified after equal sign.
|
Default values of these variables are specified after equal sign.
|
||||||
|
@ -105,6 +105,8 @@ prepare_zbx_web_service_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
||||||
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "IgnoreURLCertErrors" "${ZBX_IGNOREURLCERTERRORS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_web_service() {
|
prepare_web_service() {
|
||||||
|
@ -91,6 +91,7 @@ ZBX_TLSACCEPT=unencrypted
|
|||||||
ZBX_TLSCAFILE=
|
ZBX_TLSCAFILE=
|
||||||
ZBX_TLSCERTFILE=
|
ZBX_TLSCERTFILE=
|
||||||
ZBX_TLSKEYFILE=
|
ZBX_TLSKEYFILE=
|
||||||
|
ZBX_IGNOREURLCERTERRORS=0
|
||||||
```
|
```
|
||||||
|
|
||||||
Default values of these variables are specified after equal sign.
|
Default values of these variables are specified after equal sign.
|
||||||
|
@ -105,6 +105,8 @@ prepare_zbx_web_service_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
||||||
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "IgnoreURLCertErrors" "${ZBX_IGNOREURLCERTERRORS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_web_service() {
|
prepare_web_service() {
|
||||||
|
@ -91,6 +91,7 @@ ZBX_TLSACCEPT=unencrypted
|
|||||||
ZBX_TLSCAFILE=
|
ZBX_TLSCAFILE=
|
||||||
ZBX_TLSCERTFILE=
|
ZBX_TLSCERTFILE=
|
||||||
ZBX_TLSKEYFILE=
|
ZBX_TLSKEYFILE=
|
||||||
|
ZBX_IGNOREURLCERTERRORS=0
|
||||||
```
|
```
|
||||||
|
|
||||||
Default values of these variables are specified after equal sign.
|
Default values of these variables are specified after equal sign.
|
||||||
|
@ -105,6 +105,8 @@ prepare_zbx_web_service_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
||||||
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "IgnoreURLCertErrors" "${ZBX_IGNOREURLCERTERRORS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_web_service() {
|
prepare_web_service() {
|
||||||
|
@ -91,6 +91,7 @@ ZBX_TLSACCEPT=unencrypted
|
|||||||
ZBX_TLSCAFILE=
|
ZBX_TLSCAFILE=
|
||||||
ZBX_TLSCERTFILE=
|
ZBX_TLSCERTFILE=
|
||||||
ZBX_TLSKEYFILE=
|
ZBX_TLSKEYFILE=
|
||||||
|
ZBX_IGNOREURLCERTERRORS=0
|
||||||
```
|
```
|
||||||
|
|
||||||
Default values of these variables are specified after equal sign.
|
Default values of these variables are specified after equal sign.
|
||||||
|
@ -105,6 +105,8 @@ prepare_zbx_web_service_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
||||||
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "IgnoreURLCertErrors" "${ZBX_IGNOREURLCERTERRORS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_web_service() {
|
prepare_web_service() {
|
||||||
|
@ -91,6 +91,7 @@ ZBX_TLSACCEPT=unencrypted
|
|||||||
ZBX_TLSCAFILE=
|
ZBX_TLSCAFILE=
|
||||||
ZBX_TLSCERTFILE=
|
ZBX_TLSCERTFILE=
|
||||||
ZBX_TLSKEYFILE=
|
ZBX_TLSKEYFILE=
|
||||||
|
ZBX_IGNOREURLCERTERRORS=0
|
||||||
```
|
```
|
||||||
|
|
||||||
Default values of these variables are specified after equal sign.
|
Default values of these variables are specified after equal sign.
|
||||||
|
@ -105,6 +105,8 @@ prepare_zbx_web_service_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
update_config_var $ZBX_CONFIG "TLSCertFile" "${ZBX_TLSCERTFILE}"
|
||||||
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
update_config_var $ZBX_CONFIG "TLSKeyFile" "${ZBX_TLSKEYFILE}"
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "IgnoreURLCertErrors" "${ZBX_IGNOREURLCERTERRORS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_web_service() {
|
prepare_web_service() {
|
||||||
|
@ -7,3 +7,4 @@ ZBX_ALLOWEDIP=zabbix-server
|
|||||||
# ZBX_TLSCAFILE=
|
# ZBX_TLSCAFILE=
|
||||||
# ZBX_TLSCERTFILE=
|
# ZBX_TLSCERTFILE=
|
||||||
# ZBX_TLSKEYFILE=
|
# ZBX_TLSKEYFILE=
|
||||||
|
# ZBX_IGNOREURLCERTERRORS=0
|
||||||
|
Loading…
Reference in New Issue
Block a user