You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 2, 2022. It is now read-only.
Would be good to implement ability to check the status of cloudflare's free ssl. The reason being that when you create a zone, the SSL may take some indeterminate amount of time to be ready. So before you enabled forced SSL, you have to check to see if its ready.
You can also tell cloudflare to retry the SSL which is can sometimes be useful.
Consider this patch to Zone/SSL.php
/** * Get SSL Verification Info for a Zone (permission needed: #ssl:read) * https://api.cloudflare.com/#ssl-verification-properties * * @param string $zone_identifier API item identifier tag */publicfunctionfree_ssl_status($zone_identifier)
{
return$this->get('zones/'.$zone_identifier.'/ssl/verification');
}
/** * Immediately retry SSL verification (permission needed: #ssl:edit) * https://api.cloudflare.com/#ssl-verification-properties * * @param string $zone_identifier API item identifier tag */publicfunctionfree_ssl_retry($zone_identifier)
{
$data = [
'retry' => true
];
return$this->get('zones/'.$zone_identifier.'/ssl/verification', $data);
}