Getting error "SSL_CTX_use_certificate_file failed" in solaris - ssl

I am running a simulator which establishes SSL connections and sends HTTP requests.
But currently when I run the simulator I get below error:
ERROR: SSL_CTX_use_certificate_file failed ERROR: [SSL#906d06c]
error:0906D06C:PEM routines:PEM_read_bio:no start line ERROR:
[SSL#140ad009] error:140AD009:SSL
routines:SSL_CTX_use_certificate_file:PEM lib ERROR: Global SSL
initialization failed
Could anyone help me solve this issue?

Related

Airflow dags are broken due to unhandled exception: ssl_wrap_socket() got an unexpected keyword argument 'ca_cert_data'

Hi Today suddenly our airflow instance is down and all dags are broken and showing following error. I'm not sure is it because of ssl issue.
Following is ssl version
OpenSSL 1.1.1k 25 Mar 2021
Any help would be much appreciated.
An HTTP Client raised an unhandled exception: ssl_wrap_socket() got an unexpected keyword argument 'ca_cert_data'
No module named cryptography.hazmat.backends

Blazor App - Error: Failed to complete negotiation with the server: Error: Forbidden

I have a Blazor App that runs perfectly well on localhost, however, when I deploy it to the server I get the following error:
Error: Failed to complete negotiation with the server: Error: Forbidden
Error: Failed to start the connection: Error: Forbidden
Error: Error: Forbidden
Error: Cannot send data if the connection is not in the 'Connected' State.
error comes from blazor.server.js.
I looked everywhere and there is no such error reported as far as I know.
Turns out, firewall was blocking it. Simply changing it's security to a lower level did the trick

SSL exception cURL error 35

I was doing a rutinary check of my web at GTMETRIX when I get this error message:
Analysis Error An error occurred fetching the page: HTTPS error: SSL
connect attempt failed error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
There may be a connectivity issue between your server and the GTmetrix
test server. Try testing from another test location or try again
later.
I was looking for answers but can't find any solution. This is the actual status of my SLL configuration:
** Configuring SSL ** testing htaccess rules...
htaccess rules test failed with error: cURL error 35:
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
handshake failure checking if .htaccess can or should be edited...
Any help would be appreciated.

WebSocket connection to 'wss://' failed: Unexpected response code: 500

I'm getting 500 error when running SignalR on secure websocket when running on IIS Express.
Site is running on localhost:44300 with default cert.
It works just fine with longPolling.
When changing to webSockets, I'm getting following error:
WebSocket connection to
'wss://localhost:44300/signalr/connect?transport=webSockets&connectionToken='
failed: Unexpected response code: 500
If the error is due to self-signed cert, how do I disable it with SignalR and websockets?
Or could it be caused by something else?
I tried solving this issue with initializing EventMachine, by inserting the following code in an initializer config/initializers/eventmachine.rb:
Thread.new { EventMachine.run } unless EventMachine.reactor_running? && EventMachine.reactor_thread.alive?
and it worked for me!
Maybe check this out:
http://websocketstest.com/
BTW: Internal Error (500)

Getting error when connecting to APNS using PHP

Warning: Invalid argument supplied for foreach() in /home/content/t/3/k/t3kmast3r/html/PushService.php on line 13
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection refused) in /home/content/t/3/k/t3kmast3r/html/PushService.php on line 53
Failed to connect 111 Connection refused
Fatal error: Call to undefined function socket_close() in /home/content/t/3/k/t3kmast3r/html/PushService.php on line 98
I have godaddy.com's hosting service. Does someone know about godaddy.com support APNS?
The error seems like the destination server "ssl://gateway.sandbox.push.apple.com:2195" rejected your connection. You might want to check with Apple's documentations or contact either GoDaddy, Apple, or both.