No supported cipher suites have been found.

aneris <[email protected]> Thu, 21 Aug 2025 12:34:04 +0200
Newsgroups gmane.network.gnutls.general
Message-ID <[email protected]>
--===============2730127865333342185==
Content-Type: multipart/alternative;
 boundary="=_b9ab9bfb91df93ea89dcd1042c624e4b"

--=_b9ab9bfb91df93ea89dcd1042c624e4b
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed

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.
--=_b9ab9bfb91df93ea89dcd1042c624e4b
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
eva,sans-serif'>
<p style=3D"background-color: #ffffff;">Hi all,</p>
<p style=3D"background-color: #ffffff;">I've been using the GnuTLS document=
ation to try and write my own TLS server.<br />I (think) I've loaded all th=
e certificates properly, but on trying to connect (with gnutls-cli) I get "=
<span style=3D"font-family: monospace;"><span style=3D"color: #000000; back=
ground-color: #ffffff;">No supported cipher suites have been found."<br /><=
br />I tried to use gnutls-serv which also gave the same error until I pass=
ed --x509certfile and --x509keyfile (which gave me errors due to my self-si=
gned certificate, but that's unrelated.).<br /><br />So I am wondering if m=
y 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.<br /><br />Here is th=
e code, only gtls_raii.cpp, gtls_raii.hpp and main.cpp are important.<br />=
<a style=3D"color: #bd899e; background-color: transparent;" href=3D"https:/=
/github.com/HikariNee/Geminus/blob/main/src/tls/" target=3D"_blank" rel=3D"=
noopener noreferrer">https://github.com/HikariNee/Geminus/blob/main/src/tls=
/</a><br /><br />Thanks in advance for your time.<br /></span></span></p>
<p style=3D"background-color: #ffffff;">--</p>
<div id=3D"signature">
<div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">=
Hikari (Any/All)<br /><br />
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">People always beat themselves up based on their idea o=
f how someone is like.</blockquote>
</div>
</div>
</body></html>

--=_b9ab9bfb91df93ea89dcd1042c624e4b--


--===============2730127865333342185==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

--===============2730127865333342185==--