On Thu, August 29, 2019 8:55 am, Muhammad Kaisar Arkhan wrote:
> Hi Tom,
>
>> listen  on 2a03:6000:9106::50f7:f07a:d1cc port 443 tls
>
> I've tried this before, it just results in this:
>
> /etc/relayd.conf:33: cannot load certificates for relay https2:443
>
> I'm not sure why it does this despite the fact I have clearly
> indicated which TLS certificates to use in relayd.conf with the
> new "tls keypair" feature.
>
> % cat /etc/relayd.conf
>
> log connection
>
> table <local_httpd> { 127.0.0.1 }
> table <local_rubywarden> { 127.0.0.1 }
> table <local_znc> { 127.0.0.1 }
>
> http protocol "reverse_proxy" {
>         return error
>
>         match header set "X-Forwarded-For" value "$REMOTE_ADDR"
>         match header set "X-Forwarded-By" value
> "$SERVER_ADDR:$SERVER_PORT"
>
>         match request header "Host" value "znc.yukiisbo.red" \
>                 forward to <local_znc>
>
>         tls keypair "yukiisbo.red"
>         tls keypair "arkhan.io"
>         tls keypair "znc.yukiisbo.red"
> }
>

Are the certificate and key files named correctly and placed in the
appropriate locations as specified in the manpage?


Reply via email to