# tibemsSSLParams_System_SetEnableTLS11

Function

## Purpose

Enable or disable the TLSV1.1 protocol.

## C Declaration

    tibems_status tibemsSSLParams_System_SetEnableTLS11(
        tibemsSSLParams params,
        tibems_bool TLS11enabled);

## COBOL Call

    CALL "tibemsSSLParams_System_SetEnableTLS11"
         USING BY VALUE params,
               BY VALUE TLS11enabled,
               RETURNING tibems_status
    END-CALL.

Note: `SSLParams` has a usage pointer.

## Parameters

Parameter | Description
--- | ---
`SSLParams` | Set the value in this SSL parameter object.
`TLS11enabled` | Specify `TIBEMS_TRUE` or `TIBEMS_FALSE` to enable or disable the SSLV1.1 protocol. This protocol is enabled by default.

## Remarks

Enable or disable the TLS1.1 protocol. This parameter is connection-specific and can be specified for each connection.

Returns `TIBEMS_OK` if it succeeds, otherwise `TIBEMS_SSL_ERROR`.

Copyright © Cloud Software Group, Inc. All rights reserved.