CA certificates are not passed to the net.tls.connect() function and the socket can not be upgraded if the server uses a certificate that is not in the mozilla CA Certificate Store.
Use-case: IMAP connection using emailjs-imap-client to internal servers.