Low-level properties
These parameters are defined, or can be overwritten in the bc.properties configuration file. This file is usually located under /var/opt/nevisproxy/<instance name>/conf/bc.properties.
Under normal operating circumstances, there should be no need to alter the default values.
BC properties
ch.nevis.bc.net.AllowPostWithoutContentLength
Type: Boolean
Default: false
The HTTP 1.1 standard requires POST and PUT methods to have a valid Content-Length. If this attribute is configured, POST and PUT requests without a Content-Length will not cause an exception.
ch.nevis.bc.net.MaxHeaders
Type: Integer
Default: 100
Limits the maximum number of response headers. Any connector servlet or filter is affected that receives a response, for example, the HttpConnectorServlet, BackendConnectorServlet, ICAPFilter and so on.
ch.nevis.bc.net.AllowResponseWithoutContentCodes
Type: Comma separated list of Integers
Default: 204, 304
Status codes which may present Content-Type header without actual content.
org.jdom.EntityExpansionLimit
Type: Integer
Default: 1000
Limit the number of entity expansions of an xml-document.
bc.net.ssl.SSLCryptoDevice
Type: String
This property enables the use of a cryptographic hardware accelerator board to offload some of the SSL processing overhead. See Gemalto GemEngine support for the HttpsConnectorServlet for an example use case with the Gemalto engine.
bc.security.PassPhrasePolicy
Type: String
default: pipe,env,prompt
Controls the password access. The following options are available:
- pipe: Executes the command set in the property bc.security.PassPhraseDialog
- env: The package uses a prefetching mechanism and passes the passphrases via "env"
- prompt: The passphrases are read from the controlling terminal (if possible). See also chapter Password handling for private keys.
bc.security.PassPhraseDialog
Type: String
Default: pipe://@PKG_HOME@/bin/keystorepwget
This property is relevant if the property bc.security.PassPhrasePolicy is set to pipe. In this case, the property bc.security.PassPhraseDialog must have the following format: pipe://<executable> [<args>]
The <executable> is called with the given <args> followed by the name of the file for which the password should be returned. The <executable> has to write the password into stdout.
bc.security.pinenv
Type: String
This property is relevant if the property bc.security.PassPhrasePolicy is set to env. In this case, the property bc.security.pinenv must have one of the following values:
- keep: Keeps the password as is in the defined environment variable.
- obfuscate: Keeps an obfuscated value on the environment variable.
If not set, the environment variable will be removed once the password has been read. This may lead to errors if a password needs to be read more than once.