Hi,
I am getting a very uninformative 'unknown error' using xmlsectool to
download and verify the uk federation metadata using an http proxy, i.e.
xmlsectool.sh --verbose --verifySignature --certificate federation.crt
--inUrl http://metadata.ukfederation.org.uk/ukfederation-metadata.xml
--httpProxy <proxyhost> --httpProxyPort <proxyport>
gives
INFO [edu.internet2.middleware.security.XmlSecTool:257] - Reading XML
document from URL
'http://metadata.ukfederation.org.uk/ukfederation-metadata.xml'
ERROR [edu.internet2.middleware.security.XmlSecTool:161] - Unknown error
java.lang.NullPointerException: null
at
edu.internet2.middleware.security.XmlSecTool.getXmlInputStreamFromUrl(XmlSecTool.java:283)
~[xmlsectool-1.1.0.jar:na]
at
edu.internet2.middleware.security.XmlSecTool.parseXML(XmlSecTool.java:178)
~[xmlsectool-1.1.0.jar:na]
at
edu.internet2.middleware.security.XmlSecTool.main(XmlSecTool.java:142)
~[xmlsectool-1.1.0.jar:na]
changing values of url,proxyhost,proxyport gives suitably informative errors
downloading the metadata with curl and verifying the signature works fine
anyone seen this or know what the problem is?
--
Colin Farrow
Computing Service, University of Glasgow, Glasgow G12 8QQ
---
|