From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Bj=c3=b6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: configure ssl in AWS on Windows? Date: Thu, 28 Sep 2017 13:27:55 +0200 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 28 Sep 2017 11:27:55 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="569ad0e8f735da8704182d9746a2ebdb"; logging-data="9203"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qOV5xJsDCkxKwffzYjsJQ" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: Cancel-Lock: sha1:IU6s9sGfuT0GO1eWb/Dd1djLHeQ= Xref: news.eternal-september.org comp.lang.ada:48248 Date: 2017-09-28T13:27:55+02:00 List-Id: On 2017-09-28 00:57, Stephen Leake wrote: > I'm trying to enable ssl in AWS on Windows 8, with GNAT GPL 2016. > Has anyone succeeded at this? Yes. some time ago. This is what I did Notes on installing AWS 3.1 on Windows with ssl-support * I use mingw ... Untar/unzip aws tar xvzf aws-gpl-3.1.0-src.tgz In AWS root folder change file makefile.conf # bnl ENABLE_SHARED = false #ENABLE_SHARED=$(shell $(GNAT) make -c -q -p \ # -Pconfig/setup/test_shared 2>/dev/null && echo "true") ... #bnl #SOCKET = std SOCKET = openssl I'm not sure about ENABLE_SHARED, but I did change it. install openssl http://www.openssl.org points at http://www.slproweb.com/products/Win32OpenSSL.html and http://www.microsoft.com/en-us/download/confirmation.aspx?id=29 for redistributionals download and install both I installed openssl in c:\openssl-win32 Now , a bit ugly, but - put libssl32.dll and libeay32.dll in C:\bnl\tools\gnat\7.1.1\lib from c:\openssl-win32 or where-ever the gnat install is another trick from a bash-shell. Yes really, I did not succeed outside bash export C_INCLUDE_PATH=c:/OpenSSL-Win32/include make setup make make install And that should be all. -- -- Björn