This command starts a simple TLS/SSL server using OpenSSL.
openssl s_server -key server.key -cert server.crt -accept 8443If the command runs successfully without errors, it indicates that the server key and certificate match and are valid. You can test the secure connection using:
openssl s_client -connect localhost:8443