I have tried researching this, and have no idea where to even look in my application to fix this error. I have been taking a course on Udemy and I am trying to use Google Cloud storage to upload images. When I add an image into a new record and try to save I receive this error.
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) Unable to verify certificate.
This may be an issue with the remote host or with Excon. Excon has certificates bundled, but these can be customized.
Excon.defaults[:ssl_ca_path] = path_to_certs
,ENV['SSL_CERT_DIR'] = path_to_certs
,Excon.defaults[:ssl_ca_file] = path_to_file
,ENV['SSL_CERT_FILE'] = path_to_file
,Excon.defaults[:ssl_verify_callback] = callback
(see OpenSSL::SSL::SSLContext#verify_callback), orExcon.defaults[:ssl_verify_peer] = false
(less secure).