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

Change #ifdef QT_NO_OPENSSL to #ifdef QT_NO_SSL ? #6

Closed doumdi closed 5 years ago

doumdi commented 6 years ago

I tried enabling SSL in your examples on OSX. It seems you should test for SSL availability with :

ifdef QT_NO_SSL instead of #ifdef QT_NO_OPENSSL in:

sslloader.cpp

and

httpreadrequest.cpp

Otherwise, SSL is not detected on OSX. I don't know for other platforms though.

I did the change and everything works for me.

Thanks for this nice project!

Dominic

shujaatak commented 5 years ago

@doumdi Can you please mention the method how you created and applied the SSL certificate in CPPWebFramework? I am absolutely new to this so sorry if it feels a dumb question.

doumdi commented 5 years ago

https://www.ibm.com/support/knowledgecenter/en/SSWHYP_4.0.0/com.ibm.apimgmt.cmc.doc/task_apionprem_gernerate_self_signed_openSSL.html

HerikLyma commented 5 years ago

Many thanks for your information, I will check it.

HerikLyma commented 5 years ago

Hello my friend. This problem has been fixed.

Thanks for reporting it.