Mine de rien, apache c'est de la merde ;-)

2012/10/7 patrick <[email protected]>

>  vagrant@vagrant-debian-squeeze:~$ curl -kv https://localhost
> * About to connect() to localhost port 443 (#0)
> *   Trying 127.0.0.1... connected
> * Connected to localhost (127.0.0.1) port 443 (#0)
>
> * successfully set certificate verify locations:
> *   CAfile: none
>   CApath: /etc/ssl/certs
> * SSLv3, TLS handshake, Client hello (1):
> * SSLv3, TLS handshake, Server hello (2):
> * SSLv3, TLS handshake, CERT (11):
> * SSLv3, TLS handshake, Server key exchange (12):
> * SSLv3, TLS handshake, Server finished (14):
> * SSLv3, TLS handshake, Client key exchange (16):
> * SSLv3, TLS change cipher, Client hello (1):
> * SSLv3, TLS handshake, Finished (20):
> * SSLv3, TLS change cipher, Client hello (1):
> * SSLv3, TLS handshake, Finished (20):
> * SSL connection using DHE-RSA-AES256-SHA
> * Server certificate:
> *        subject: CN=vagrant-debian-squeeze
> *        start date: 2012-10-07 21:13:25 GMT
> *        expire date: 2022-10-05 21:13:25 GMT
> *        common name: vagrant-debian-squeeze (does not match 'localhost')
> *        issuer: CN=vagrant-debian-squeeze
> *        SSL certificate verify result: self signed certificate (18),
> continuing anyway.
> > GET / HTTP/1.1
> > User-Agent: curl/7.21.0 (i486-pc-linux-gnu) libcurl/7.21.0
> OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
> > Host: localhost
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < Date: Sun, 07 Oct 2012 22:03:21 GMT
> < Server: Apache/2.2.16 (Debian)
> < Last-Modified: Sun, 07 Oct 2012 20:37:23 GMT
> < ETag: "57e43-b1-4cb7e1277c6c0"
> < Accept-Ranges: bytes
> < Content-Length: 177
> < Vary: Accept-Encoding
> < Content-Type: text/html
> < X-Pad: avoid browser bug
> <
> <html><body><h1>It works!</h1>
> <p>This is the default web page for this server.</p>
> <p>The web server software is running but no content has been added,
> yet.</p>
> </body></html>
> * Connection #0 to host localhost left intact
> * Closing connection #0
> * SSLv3, TLS alert, Client hello (1):
> vagrant@vagrant-debian-squeeze:~$
>
> Enfin, je m'en suis sorti, en reprenant de zero ;-)
> @+
>
> Le 05/10/2012 17:49, patrick a écrit :
>
> Salut a tous, j'espere que vous vous portez bien.
> Qui veut me souffler une astuce svp?
> J'essaie de configurer apache pour qu'il accepte des connections en https
>
> - j'ai installé openssl,
> - le module ssl pour apache est activé
> - le virtualhost est créé et activé
> - un certificat et une clé ont été créés: avec openssl ...
>
> Cependant je dois rater un detail, lorsque je fais un essai voici ce que
> j'ai avec curl
>
> * About to connect() to patrick.projects.dev port 443 (#0)
> *   Trying 192.168.2.3... connected
> * Connected to patrick.projects.dev (192.168.2.3) port 443 (#0)
> * successfully set certificate verify locations:
> *   CAfile: none
>   CApath: /etc/ssl/certs
> * SSLv3, TLS handshake, Client hello (1):
> * Unknown SSL protocol error in connection to patrick.projects.dev:443
> * Closing connection #0
> curl: (35) Unknown SSL protocol error in connection to
> patrick.projects.dev:443
>
> Merci pour toutes les suggestions, tres bon weekend a tous.
> --
> *
> Patrick Nsukami, aka LeMeteore
> Web developer at Soon.sa. Dakar Senegal
> +221 70 605 15 88
> Twitter <https://twitter.com/lemeteore> | 
> Linkedin<http://www.linkedin.com/pub/patrick-nsukami/2b/26/767>|
> Github <https://github.com/LeMeteore> | VillaACT<https://www.act-dakar.net>
> *
>
>
>
> --
> *
> Patrick Nsukami, aka LeMeteore
> Web developer at Soon.sa. Dakar Senegal
> +221 70 605 15 88
> Twitter <https://twitter.com/lemeteore> | 
> Linkedin<http://www.linkedin.com/pub/patrick-nsukami/2b/26/767>|
> Github <https://github.com/LeMeteore> | VillaACT<https://www.act-dakar.net>
> *
>



-- 
*
Sincerely,
*
*
*
*"still water is deep"*
*Patrick Nsukami, young JAVA EE developer, hi-tech lover!

Profile <http://www.doyoubuzz.com/patrick-nsukami> - Twitter<
http://twitter.com/#!/@LeMeteore>
**DakarLUG <http://blog.dakarlug.org/> member - SeneJUG<
http://www.senejug.com/> member

*tel: +221 70 605 15 88

*
*
*
--
Ce message a été envoyé à la liste [email protected]
Gestion de votre abonnement : http://dakarlug.org/liste
Archives : http://news.gmane.org/gmane.org.user-groups.linux.dakarlug
Le site du DakarLUG : http://dakarlug.org

Répondre à