cloudflare / cloudflare-php

PHP library for the Cloudflare v4 API
BSD 3-Clause "New" or "Revised" License
621 stars 222 forks source link

Add EndPoint to manage TLS Settings #70

Closed jcoetsie closed 6 years ago

jcoetsie commented 6 years ago

Add EndPoint and 2 methods to change TLS behaviour:

  1. enableTLS13($zoneID, true) -> enable TLS 1.3
  2. changeMinimumTLSVersion($zoneID, '1.1') -> set minimum TLS version to 1.1

Fixtures and tests have been added

jcoetsie commented 6 years ago

Hi,

Feel free to merge.

tx

IcyApril commented 6 years ago

Thanks for contributing this!