Yaws + SSL in non Win32 OS

Michael McDaniel <>
Thu Jun 2 23:06:49 CEST 2005


compressed, On Thu, Jun 02, 2005 at 05:36:11PM -0300, Inswitch Solutions wrote:
> 
>    Hi,
>    Has someone successfully used Yaws + SSL in non Win32 OS?
>    thanks,
>    Eduardo
>    [cid:02a801c567b2$b6b768c0$]
> 
>    Prepaid Expertise - Programmable Switches
>    Powered by Ericsson Licensed Technology
>    Ing. Eduardo Figoli - Development Center - IN Switch Solutions Inc.
>    Headquarters - Miami-U.S.A. Tel: 1305-3578076 Fax: 1305-7686260
>    Development Center - Montevideo - Uruguay Tel/Fax: 5982-7104457
>    e-mail: [1]
> References
> 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The following worked for me on Linux and then httpS://localhost  works


$ cd /opt/src/otp_src_R10B-4/
$ cd lib/ssl/c_src
$ mkdir RCS
$ ci -l esock.c
$ emacs esock.c
FROM: #define RWBUFLEN       4096
TO: #define RWBUFLEN       (32*1024)
$ cd -
$ export ERLANG_COMMERCIAL_BUILD="Automated Systems"
$ ./configure  --with-odbc --x-includes=/usr/local/include --x-libraries=/usr/lib --with-ssl
$ make
$ sudo make install


$ cd /opt/src/yaws-1.54
$ ./configure
$ make
$ make docs
$ sudo make install


make sure this is in /etc/yaws.conf

<server localhost>
	port = 443
	listen = 0.0.0.0
	docroot = /var/yaws/www
	dir_listings = true
	<ssl>  
	        keyfile = /etc/yaws-key.pem
	        certfile = /etc/yaws-cert.pem
	</ssl>

</server>


~Michael



More information about the erlang-questions mailing list