This error usually occurs when there are issues with your website’s SSL certificate or OpenSSL version, e.g. Peer’s Certificate Issuer not recognized or Self Signed Certificate.
A (temporary) way to work around this, is to add the following filter to your theme’s
functions.php
:
add_filter('omgf_admin_optimize_verify_ssl', '__return_false');