News:

SMF - Just Installed!

Main Menu

How to configure GnuTLS?

Started by kalpana, Nov 06, 2023, 03:07 AM

Previous topic - Next topic

kalpana

My self-compiled program that uses GnuTLS outputs

./httpfs2-ssl: main: connecting to conference.portonvictor.org port 443.
gnutls[3]: ASSERT: ../../../lib/x509/dn.c[_gnutls_x509_compare_raw_dn]:1025
./httpfs2-ssl: SSL init: loaded 127 CA certificate(s).
./httpfs2-ssl: main: initializing SSL socket.
./httpfs2-ssl: conference.portonvictor.org:443 - ./httpfs2-ssl: main: SSL connection failed: -8 A packet with illegal or unsupported version was received..

Apparently the server conference.portonvictor.org that I used for testing does not support some feature of httpfs2-ssl.

So, for it to work, I need to reconfigure GnuTLS.

But I found no any configuration of GnuTLS in Ubuntu!

Please give me an example "sane" (not too loose, not to secure trading off important features and compatibility) GnuTLS config (and where to put it in /etc).