Hi all,

I've been using the GnuTLS documentation to try and write my own TLS server. I (think) I've loaded all the certificates properly, but on trying to connect (with gnutls-cli) I get "No supported cipher suites have been found."

I tried to use gnutls-serv which also gave the same error until I passed --x509certfile and --x509keyfile (which gave me errors due to my self-signed certificate, but that's unrelated.).

So I am wondering if my certificates aren't being loaded properly, but the code runs fine and it doesn't throw, so I have no idea why its not working.

Here is the code, only gtls_raii.cpp, gtls_raii.hpp and main.cpp are important.
https://github.com/HikariNee/Geminus/blob/main/src/tls/

Thanks in advance for your time.

--

Hikari (Any/All)

People always beat themselves up based on their idea of how someone is like.
_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to