HerikLyma / CPPWebFramework

​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
MIT License
445 stars 119 forks source link

Any SSL/https example please? #7

Closed shujaatak closed 5 years ago

shujaatak commented 5 years ago

Is SSL supported? Any example with POST method and SSL please?

HerikLyma commented 5 years ago

Hello.

You can test the SSL in all CWF examples, just remove the ';' from these lines of the CPPWeb.ini

;sslKeyFile=/config/ssl/key.pem ;sslCertFile=/config/ssl/cert.pem ;sslPassPhrase=cppwebframework ;sslKeyAlgorithm=rsa ;sslEncodingFormat=pem ;sslKeyType=privatekey ;sslPeerVerifyMode=verifynone ;sslProtocol=tlsv1sslv3

and then, call https://localhost:8080