caddy: Failed to get certificate: The server could not validate our request.

Hi, I want to use https with my config but i don’t know why i have this error : “./caddy -conf=“test/Caddyfile” -agree Activating privacy features… 2016/01/02 21:47:09 [test.qlaffont.com] failed to get certificate: The server could not validate our request.”.

This is my config file:

localhost:80, test.qlaffont.com {
    startup php-cgi -b 127.0.0.1:9000 &
    bind 1925.168.1.163:80 
    errors {
        log error.log
    }
    browse
    root /home/uiop/Bureau/test
    ext .html .htm .php 
    fastcgi / 127.0.0.1:9000 {
        ext   .php
        split .php
        index index.php
    }
    gzip
    basicauth /secret Bob mdp 
    rewrite /contact /secret
    tls qlaffont13.2@gmail.com
}

Thanks for all. QL.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

Answer here https://stackoverflow.com/questions/48985995/gitkraken-and-github-failed-to-get-server-certificate-the-handle-is-in-the-wr

Yes it’s work on my dedicated server. Thanks for all QL.

    bind 1925.168.1.163:80
            ^

Probably not related to the issue but just noticed this.