[Checkins] SVN: keas.kmi/trunk/README.txt Fix example.

Marius Gedminas marius at pov.lt
Thu Sep 4 14:34:19 EDT 2008


Log message for revision 90820:
  Fix example.
  
  The POST to /key needs to come with a text/plain content type; for some reason
  the Paste web server hangs parsing the request if you send
  application/x-www-form-urlencoded over SSL, but not if you do that over plain
  HTTP.
  
  

Changed:
  U   keas.kmi/trunk/README.txt

-=-
Modified: keas.kmi/trunk/README.txt
===================================================================
--- keas.kmi/trunk/README.txt	2008-09-04 18:23:00 UTC (rev 90819)
+++ keas.kmi/trunk/README.txt	2008-09-04 18:34:18 UTC (rev 90820)
@@ -15,7 +15,7 @@
 The data encryption key can now be retrieved by posting the KEK to another
 URL::
 
-  $ wget https://localhost:8080/key --post-file kek.dat -O datakey.dat --ca-certificate sample.pem
+  $ wget https://localhost:8080/key --header 'Content-Type: text/plain' --post-file kek.dat -O datakey.dat --ca-certificate sample.pem
 
 Note: To be compliant, the server must use an encrypted communication channel
 of course.  The ``--ca-certificate`` tells wget to trust the sample self-signed



More information about the Checkins mailing list