How can I setup my Node.js server to serve only TLSv1.2 on a custom port??
I'm currently trying to integrate my website with an external payment processor that requires the connection to use TLSv1.2 only. I'm using a non-standard port for this connection, and they mentioned that there were two possible causes for the TLS error:
I'm using a non-default port (port: 1339) for my server.
They sent me a screenshot of my cert and said that the certificate I'm using is not issued for the port number 1339, which according to them could be another reason for TLS failure.
Hey there -
You can use non-standard ports for TLS. Upon doing some research about this to see if there as anything specific you needed to do, I came across some information that might help you out.
Here's a how-to from Superuser:
Here's another that gives some further tips: