[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

debugging https access under emacs/w3



thanks. Could you send out a note showing your exact version of openssl?

>>>>> "Peter" == Peter Rayner <peter.rayner@xxxxxxxxxxx> writes:
    Peter> Replying to my own mail ...  I mentioned a while ago I
    Peter> was having trouble with https pages.  Getting back to
    Peter> this the problem seems to be a change in the format
    Peter> for the arguments of the s_client command of openssl.
    Peter> For my version OpenSSL 0.9.7a Feb 19 2003 the synopsis
    Peter> line for the manual reads openssl s_client [-connect
    Peter> host:port>] [-verify depth] [-cert file- ....  rather
    Peter> than the -host hostname -port port form I have seen in
    Peter> older versions.  this needs a change in the
    Peter> ssl-program-arguments variable.  Mine is now set to
    Peter> ssl-program-arguments's value is ("s_client" "-quiet"
    Peter> "-connect" host ":" service "-verify" (int-to-string
    Peter> ssl-certificate-verification-policy) "-CApath
    Peter> ~/.certs") This also doesn't work directly since it
    Peter> makes spaces around the colon which openssl doesn't
    Peter> like.  So I hacked the quietssl script to remove the
    Peter> space.
    Peter> ----------------------------------------------------------------------
    Peter> #!/bin/sh #redirect stderr so emacs doesn't barf on
    Peter> opensll newargs=`echo "$@" |sed 's/ : /:/'` exec
    Peter> 2>/dev/null exec openssl $newargs U70- Clearly a
    Peter> better way to do this is within the variable
    Peter> definition #itself, something like
    Peter> 
    Peter> ("s_client" "-quiet" "-connect" (format "%s:%d" host
    Peter> service) "-verify" (int-to-string
    Peter> ssl-certificate-verification-policy) "-CApath
    Peter> ~/.certs") but for some reason this doesn't work,
    Peter> almost certainly a trivial elisp misunderstanding on
    Peter> my part (would someone care to enlighten me).  I hope
    Peter> this is useful for anyone else with the same problem.
    Peter> cheers Peter
    Peter>  
    Peter>  
    Peter> 
    Peter> -- Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
    Peter> address: Bat. 701 LSCE - CEA de Saclay Orme des
    Peter> Merisiers, 91191 Gif/Yvette work: +33 (1) 69 08 88 11;
    Peter> mobile: +33 (6) 75 46 56 52; fax: +33 (1) 69 08 77 16
    Peter> mail-to: peter.rayner@xxxxxxxxxxx
    Peter> 
    Peter> -- Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
    Peter> address: Bat. 701 LSCE - CEA de Saclay Orme des
    Peter> Merisiers, 91191 Gif/Yvette work: +33 (1) 69 08 88 11;
    Peter> mobile: +33 (6) 75 46 56 52; fax: +33 (1) 69 08 77 16
    Peter> mail-to: peter.rayner@xxxxxxxxxxx
    Peter> 
    Peter> -----------------------------------------------------------------------------
    Peter> To unsubscribe from the emacspeak list or change your
    Peter> address on the emacspeak list send mail to
    Peter> "emacspeak-request@xxxxxxxxxxx" with a subject of
    Peter> "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@xxxxxxxxxxx
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe | Search