Go to file
2009-07-12 17:21:55 -04:00
Web/Authenticate Removed the (Either String) monad instance for better interop with mtl 2009-06-01 23:24:28 +03:00
.gitignore Rpxnow module written. 2009-05-08 09:08:46 +03:00
authenticate.cabal Removed the (Either String) monad instance for better interop with mtl 2009-06-01 23:24:28 +03:00
LICENSE Rpxnow module written. 2009-05-08 09:08:46 +03:00
README troubleshooting info for Rpxnow 2009-07-12 17:21:55 -04:00
Setup.lhs Rpxnow module written. 2009-05-08 09:08:46 +03:00

Authentication methods for Haskell web applications.

Note for Rpxnow: 
By default on some (all?) installs wget does not come with root certificates for SSL. 
If this is the case then Web.Authenticate.Rpxnow.authenticate will fail as wget cannot establish a secure connection to rpxnow's servers.

A simple *nix solution, if potentially insecure (man in the middle attacks as you are downloading the certs) is to grab a copy of the certs extracted from those that come with firefox, hosted by CURL at http://curl.haxx.se/ca/cacert.pem , put them somewhere (for ex, ~/.wget/cacert.pem) and then edit your ~/.wgetrc to include: 
ca_certificate=~/.wget/cacert.pem

This should fix the problem.