I'm searching for the server which allows to launch php files with ssl. I've tried for example python simple server:
import BaseHTTPServer, SimpleHTTPServer
import ssl
httpd = BaseHTTPServer.HTTPServer(('127.0.0.1', 4443), SimpleHTTPServer.SimpleHTTPRequestHandler)
httpd.socket = ssl.wrap_socket (httpd.socket, keyfile='privkeyA.pem', certfile='certA.crt', server_side=True)
print("Server is working!")
httpd.serve_forever()
Certificate and key works well, but I can only launch html files, because this server doesn't support php ones.
Use can use Php Build in Server + ngrok for getting Https+SSL
im using laragon now, its built-in ssl , and they support cool things https://laragon.org/download/index.html
Note : windows
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With