SSL::nextproto

Description

This command gets or sets the Next Protocol Negotiation (NPN) string.

Syntax

SSL::nextproto [add <string>]

SSL::nextproto

  • Get the negotiated protocol value.

SSL::nextproto add <string>

  • Adds string to the list of protocols advertised.

Examples

when CLIENTSSL_CLIENTHELLO {
    SSL::nextproto add "spdy/1"
    SSL::nextproto add "spdy/2"
    SSL::nextproto add "http/2"
}
when CLIENTSSL_HANDSHAKE {
    log local0.info "negotiated protocol: [SSL::nextproto]"
}