"SSLHandshakeException" when establishing a secure connection in a MERN application
"SSLHandshakeException" when establishing a secure connection in a MERN application
20804-Aug-2023
Updated on 04-Aug-2023
Home / DeveloperSection / Forums / "SSLHandshakeException" when establishing a secure connection in a MERN application
"SSLHandshakeException" when establishing a secure connection in a MERN application
Aryan Kumar
04-Aug-2023An SSKHandshakeException is a type of error that can occur when you are trying to establish a secure connection (HTTPS) in a MERN application. This error can be caused by a variety of factors, such as:
https
module and then setting theprotocol
property of yourapp
object tohttps
.protocol
property of yourrequest
object tohttps
.openssl
to verify the certificate.Here are some tips for troubleshooting SSKHandshakeException errors:
protocol
property of yourapp
object.protocol
property of yourrequest
object.openssl
to verify the certificate that is being used by the server.If you are still having trouble troubleshooting SSKHandshakeException errors, you can ask for help on a forum or chat room like Stack Overflow or Node.js Discord.