🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #204336

Re: TLS and Stunnel server configuration

#204336
From: BiKiKii Admin
Date: Wed, 26 Apr 2006 03:49
86 lines
4019 bytes
-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 25 Apr 2006, Privacy Nut wrote:
>I'm having no luck getting an stunnel server to use DH key exchange and
>DHE-RSA-AES256-SHA ciphers.
>
>Everything works fine until I try to use the DHE cipher.
> i.e. AES256-SHA works with my configuration.
>


Hello,

Diffie-Hellman key exchange (DH Kx) is not enabled in the default Stunnel build.

When you compile do:

 ./configure --enable-dh



Else if you are after "short-lived" (ephemeral) key exchange you may
add the option to your conf file for RSA Kx.


   #stunnel server setup
   
   CAfile=CAcert.pem
   CApath=certificates
   cert=server.pem
   debug = 7
   #verify = 3
   output = log.txt
   client = no
   options = all
   options = EPHEMERAL_RSA


Then your logfile...


> : SSL state (connect): before/connect initialization
> : SSL state (connect): SSLv3 write client hello A
> : SSL state (connect): SSLv3 read server hello A
> : SSL state (connect): SSLv3 read finished A
> : SSL state (connect): SSLv3 write change cipher spec A
> : SSL state (connect): SSLv3 write finished A
> : SSL state (connect): SSLv3 flush data

   ...will look something like:

]: SSL state (accept): before/accept initialization
]: SSL state (accept): SSLv3 read client hello A
]: SSL state (accept): SSLv3 write server hello A
]: SSL state (accept): SSLv3 write certificate A
]: Generating 1024 bit temporary RSA key...
]: Temporary RSA key created
]: SSL state (accept): SSLv3 write key exchange A
]: SSL state (accept): SSLv3 write server done A
]: SSL state (accept): SSLv3 flush data
]: SSL state (accept): SSLv3 read client key exchange A
]: SSL state (accept): SSLv3 read finished A
]: SSL state (accept): SSLv3 write change cipher spec A
]: SSL state (accept): SSLv3 write finished A
]: SSL state (accept): SSLv3 flush data


Else build Stunnel with the --enable-dh option.


Ciao!

BiKiKii

-----BEGIN PGP SIGNATURE-----
Version: N/A

iQEVAwUBRE7tyfRwi/QFFzi5AQHrjwf/UovSLHedgkM86rY2SBHIY58azsT8xwXy
r34V0ajXnELO0jch6k3wVje5LXjE8z+bEDMTqDXzDqTyw4mJk5u+aQG+MVnZwFuz
1VWf4q9YVd+W+1a7KcH6M2B5Gzmmv6vDklkC9aCCleMLx25iBynfVslWk5j6tQWX
VgygbgheOGmDnGfjz6jFjZ5lQyJ3zSh6ekNVwtJdlC0K6NRgkQgemS+KUMJi1WWq
EJyuQ+tRSe9QlZyxF5lXQ1SNaw6rhm4vZQ2ynuXGnjK+Kn2/9KiDeIJ0eODLMNvV
fyHPrdKnh9omBVQc5TDqDOoHwVzpnbQ07hWMC/xf8MzFEWtE9MC+WQ==
=x76b
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <591304C4292@bikikii.ath.cx>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!chloor.box.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!newsgate.cistron.nl!news.wiretrip.org!news.dizum.com!sewer-output!mail2news-x3!mail2news-x2!mail2news
References: <4ab016325f308c5cdcde012eed382024@anon.mixmaster.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <591304C4292@bikikii.ath.cx>
Subject: Re: TLS and Stunnel server configuration
Date: Wed, 26 Apr 2006 03:49:33 +0000
From: BiKiKii Admin <Use-Author-Supplied-Address-Header@[127.1]>
References: <4ab016325f308c5cdcde012eed382024@anon.mixmaster.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!chloor.box.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!newsgate.cistron.nl!news.wiretrip.org!news.dizum.com!sewer-output!mail2news-x3!mail2news-x2!mail2news
X-IronPort-AV: i="4.04,155,1144036800";
 d="scan'208"; a="236192416:sNHT213738510"
Author-Supplied-Address: remailer-admin <AT> bikikii.ath <DOT> cx <DOT> invalid
Organization: BiKiKii Anonymous Remailer http://bikikii-remailer.noneto.com
X-No-Archive: yes
Archive: no
X-Abuse-Info: To report problems or inappropriate use to the remailer
 administrator please see the abuse policy at
 http://bikikii-remailer.noneto.com/docs/remailer-abuse-bikikii.txt
Newsgroups: alt.privacy,alt.privacy.anon-server,alt.privacy.anon-servers
X-No-Archive: yes
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Mail-To-News-Contact: abuse@dizum.com