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

W3 and ssl



I got this working a while ago thanks to William Perry.
Matt/Hans --this might be worth adding into the next W3 rpm.

To access https URLs using w3:
1) Install openssl --
openssl rpms are available --openssl is an implementation of
SSL as open source.

2) Create the following shell script 
and place it somewhere on your path 
--I created it as /home/raman/bin.sh/essl 
--the script is needed because openssl dumps out a bunch of
warnings that makes W3 unhappy.
#!/bin/sh
#redirect stderr so emacs doesn't barf on opensll
exec 2>/dev/null
exec openssl "$@"

3) Add the following lines to your emacs set up:



(setq ssl-program-name "essl"
      ssl-program-arguments '("s_client" "-quiet" "-host" host "-port"
                              service
                              "-verify" (int-to-string ssl-certificate-verification-policy)
                              "-CApath" ssl-certificate-directory))

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW:    http://cs.cornell.edu/home/raman/             
PGP:    http://cs.cornell.edu/home/raman/raman.asc 

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


Emacspeak Files | Subscribe | Unsubscribe