|
4 gadi atpakaļ | |
---|---|---|
.. | ||
LICENSE.md | 4 gadi atpakaļ | |
README.md | 4 gadi atpakaļ | |
goahead-mbedtls.c | 4 gadi atpakaļ | |
goahead-mbedtls.me | 4 gadi atpakaļ | |
package.json | 4 gadi atpakaļ |
MbedTLS SSL stack interface.
Install into a GoAhead source tree, via:
pak install goahead-mbedtls
Optionally add the following to main.me to modify the MbedTLS compile time configuration.
settings: {
mbedtls: {
compact: true, /* Compact edition - disables all the ciphers and features below */
blowfish: false, /* Disable Blowfish cipher */
camellia: false, /* Disable Camellia cipher */
rc4: false, /* Disable RC4 */
des: false, /* Disable DES */
padlock: false, /* Disable Via Padlock */
psk: false, /* Disable Pre-shared Keys */
romTables: false, /* Disable Rom tables */
xtea: false /* Disable XTEA */
}
}
./configure --with mbedtls build
Compile time SSL controls:
settings: {
ssl: {
cache: 512, /* Set the session cache size (items) */
logLevel: 5, /* Starting logging level for SSL messages */
renegotiate: true, /* Enable/Disable SSL renegotiation (defaults to true) */
ticket: true, /* Enable session resumption via ticketing - client side session caching */
timeout: 86400 /* Session and ticketing duration in seconds */
}
}