I’ve spent a few hours trying to get cURL (in PHP) to work with the Swedish BankID service, and running into the following two certificate errors: The code I’m using to initialize cURL is the following: I’ve tried various variations of the CURLOPT_CAINFO and CURLOPT_CAPATH options, but I still get either of the two errors (when I try some variations
Tag: ssl
PHP cURL error: SSL certificate problem: self signed certificate
Long story short, I had to reinstall php 7.4 on my Mac. I have a php webapp that hits a .NET API. Prior to the reinstall of php, I was able to hit a locally running version of my API at https://localhost:5001 using cURL in php but now I get a response code of 0 with this error: If I
Why does PHPMailer fail to connect to my SMTP server
PHPMailer version: 6.5.0 When I am trying to connect my PHPMailer script with my SMTP server I am getting this error: The first “SSL loaded” is my script checking if it has OpenSSL enabled. My mail server is: Note: “mail.solninjaa.com” is the IMAP and POP3 address as well. I ran a command that would test if the mail server is
PHP mysqli and SSL
I am trying to configure Galera Cluster over a WAN (VPN is not an option). For obvious reasons I am setting up the connections to require SSL keys, and am having difficulties getting the application …
How to Replace HTTP to HTTPS for page secure
errorThis Type error Display in this site => why not padlock? An image with an insecure URL of “http://rotary.mylionsgroup.com/wp-content/uploads/2020/07/banner.jpg” was loaded on line: …
Illuminate Broadcasting BroadcastException No message
I’m using Laravel websocket written by beyoundcode. After couple of days, I’ve connected to myDomain.com/laravel-websockets and first step solved. But now, when I trigger an event, laravel has error at this point: this is my stacktrace screenshot: I read these questions and issues but nothing worked for me: Laravel Pusher exception: “IlluminateBroadcastingBroadcastException” Exception: Illuminate Broadcasting BroadcastException No message
SSL certificate problem: unable to get issuer certificate
I’m currently testing an API on a website with a certificate by executing a php script that uses curl, in command line on my local windows machine. But the script never manages to reach the server. I …
telegram bot SSL error: SSL error {error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed}
I use let’s encrypt free SSL (my host provider support it by default), I checked my site at sslshopper.com (the only warning was: The certificate is not trusted in all web browsers. You may need to install an Intermediate/chain certificate to link it to a trusted root certificate. Learn more about this error. The fastest way to fix this problem
SSL: match private key with certificate using PHP (without phpseclib)
I have tried to use this PHP code script to check SSL private key with SSL certificate match or not the result is match every time. error_reporting(E_ALL & ~E_NOTICE); if (!extension_loaded(‘…
Symfony 1.4 connect to mysql via SSL
I need to change an old Symfony 1.4 application so that it’s able to connect to mysql via ssl-connection. I found a lot about this for Symfony >= 2. But unfortunately not for this dusty one. For validation purposes I already made it work by editing ./apps/frontend/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Connection.php to But I wonder if this ugly hack is actually the only solution?