Thank you Emeric that works perfectly.

I was looking at the old example, and thought to myself that ssl had been
*replaced* by crt when I saw:

[ALERT] 319/124036 (24897) : parsing [/etc/haproxy/haproxy.cfg:3] : 'bind'
only supports the 'transparent', 'accept-proxy', 'defer-accept', 'name',
'id', 'mss', 'mode', 'uid', 'gid', 'user', 'group' and 'interface' options.
[ALERT] 319/124036 (24897) : Proxy 'ft_test': no SSL certificate specified
for bind '0.0.0.0:443' at [/etc/haproxy/haproxy.cfg:3] (use 'crt').

Then when looked at the new examples, I somehow wasn't seeing the word
'ssl'.

Maybe I should sleep on things before posting on the mailing list :-P
Thanks again!
Kyle

On Thu, Nov 15, 2012 at 4:56 AM, Emeric Brun <[email protected]> wrote:

>
>
> On 11/14/2012 11:26 PM, Kyle Brandt wrote:
>
>> Having trouble getting started with -dev12 and SSL. I have a feeling
>> this is something obvious, but just not seeing what I am doing wrong
>> (stripped everything down the the minimal example). If anyone can point
>> me in the right direction it would much appreciated :-)
>>
>> Thanks!
>> Kyle
>>
>> [root@centos1 haproxy]# cat /etc/haproxy/haproxy.cfg
>> frontend ft_test
>>    mode http
>>    bind 0.0.0.0:443 crt /etc/haproxy/cert/self.pem
>> # basic conf require only 1 keyword
>>    default_backend bk_test
>>
>
>
> Missing 'ssl' keyword on the bind line:
>
> bind 0.0.0.0:443 ssl crt /etc/haproxy/cert/self.pem
>
> You are listening in clear.
>
> Emeric Brun
>
>
>

Reply via email to