Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL/TLS not working for raw-http.c example? #152

Open
richard-powers opened this issue May 11, 2024 · 2 comments
Open

SSL/TLS not working for raw-http.c example? #152

richard-powers opened this issue May 11, 2024 · 2 comments

Comments

@richard-powers
Copy link

Using facil.io 0.7.6 examples, I am able to compile a binary, but TLS doesn't seem to be working.

I get the following message during make:
Detected the OpenSSL library, setting HAVE_OPENSSL

Then when I try running ./tmp/fioapp I always get the message FATAL: No supported SSL/TLS library available.

I'm trying to get any basic webserver example running with TLS but haven't found a way to achieve this, yet.

Are there any working examples or a direction you can point me in?
Thanks

@hyaseen-river
Copy link

Have the same problem here

@boazsegev
Copy link
Owner

Hi, Thank you for letting me know and opening this issue.

This might be a linker issue related to the weak vs strong symbols in the TLS/SSL implementation. If so, this may be compiler / OS specific (e.g. file name ordering).

Did you try the examples on the facil.io 0.8.x C STL development repo? Does it happen over there too (if so, then it's not the weak/strong symbol issue)?

Thanks,
B.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants