Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Erro Biblioteca TCPDF com HTTPS
$cs = curl_init(); // curl session
curl_setopt($cs, CURLOPT_URL, "URL_DO_ARQUIVO");
* Alteração efetuada na Biblioteca para permitir o request de
* HTTPS sem verificar o certificado
curl_setopt($cs, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($cs, CURLOPT_SSL_VERIFYHOST, 0);
//...O RESTANTE...não importa :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.