I am using the php server from windows cmd. I generated ssl certificate and key using openssl. and started a php server by using the command provided below. but still https is not working. server is starting with the http protocol. I want to use the https protocol with these self signed certificate in php server.
php -S localhost:8000 -t "C:/Users/Pro/Desktop/Web Development/php" -d "C:\Program Files\OpenSSL-Win64\bin\openssl.cfg" -ssl "C:/Users/Pro/Desktop/Web Development/php/openssl/server.crt" -ssl-key "C:/Users/Pro/Desktop/Web Development/php/openssl/server.key"
this is the command.