The Tomcat documentation for Tomcat 7 says that the property for SSL Implementation is now sslImplementationName. I updated this property in my server.xml file, and cycled the container. I now get this in stderr:
java.lang.NoSuchMethodError: org.apache.tomcat.util.net.jsse.JSSESocketFactory: method <init>()V not found
at edu.internet2.middleware.security.tomcat6.DelegateToApplicationJSSEImplementation$NoTrustSocketFactory.<init>(DelegateToApplicationJSSEImplementation.java:73)
at edu.internet2.middleware.security.tomcat6.DelegateToApplicationJSSEImplementation.<init>(DelegateToApplicationJSSEImplementation.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:69)
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:118)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at org.apache.catalina.startup.Catalina.load(Catalina.java:572)
at org.apache.catalina.startup.Catalina.load(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:262)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:430)
Nick
My apologies for missing some earlier comments in this thread. Somehow my junk mail filter got overzealous and shunted some of that into my junk mail folder.
Nick
-----Original Message-----
From: Cantor, Scott E. [mailto:cant...@osu.edu]
Sent: Tuesday, July 19, 2011 2:15 PM
To: us...@shibboleth.net
Subject: Re: AttributeQuery failing: CURLSOAPTransport error
>I can ask the server admin to rebuild our new servers using tomcat
>6.latest. Do you know when you might have support for tomcat 7
>available? If it's not too far off, we might wait for it since these are
>new test and production servers that we're building up.
Nobody's actively working on it, and based on what's going on, I doubt
it's going to be imminent unless somebody outside the core team jumps on
it.
Any time I would spend on OSU's dime will be on Jetty at this point. If
nobody else gets to it, it's likely I could take a look at it some time in
August.
At minimum, you'd want to file a RFE, against the IdP I guess.
<Connector port="8443"
protocol="org.apache.coyote.http11.Http11Protocol"
maxHttpHeaderSize="8192"
maxThreads="150"
minSpareThreads="25"
scheme="https"
secure="true"
clientAuth="true"
SSLEnabled="true"
SSLImplemenation="edu.internet2.middleware.security.tomcat6.DelegateToApplicationJSSEImplementation"
keystoreFile="E:\Shibboleth\shibboleth-idp\credentials\SAML\idp-test.uiowa.edu SAMLsigning_8443.jks"
keystorePass="not shown here"
/>
We are still seeing the following message in our test SP logs:
2011-07-20 12:40:58 ERROR Shibboleth.AttributeResolver.Query [6]: exception during SAML query to https://idp-test.uiowa.edu:8443/idp/profile/SAML2/SOAP/AttributeQuery: CURLSOAPTransport failed while contacting SOAP endpoint (https://idp-test.uiowa.edu:8443/idp/profile/SAML2/SOAP/AttributeQuery): error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown
2011-07-20 12:40:58 ERROR Shibboleth.AttributeResolver.Query [6]: unable to obtain a SAML response from attribute authority
It looks like perhaps tomcat is still getting in the way of the IdP handling the SSL on port 8443, but there are no warnings or errors in the tomcat logs. The accesses to this path are not even being logged by tomcat in its access log.
I'm somewhat frustrated- I can't imagine what's happening here at this point. Any guidance is appreciated.
Thanks,
Nick
-----Original Message-----
From: Roy, Nicholas S [mailto:nichol...@uiowa.edu]
Sent: Tuesday, July 19, 2011 2:41 PM
To: us...@shibboleth.net
Subject: Re: AttributeQuery failing: CURLSOAPTransport error
It is getting in the way. I'm afraid I use Tomcat only with Apache myself.
I think I'd start by sanity checking that it's using the override, maybe
tweak the class name to introduce an error and make sure that fails, that
kind of thing.
Attributes are now being released by our new test IdP systems via SOAP. Thanks everyone for all your help.
Nick
-----Original Message-----
From: Cantor, Scott E. [mailto:cant...@osu.edu]
Sent: Wednesday, July 20, 2011 1:12 PM
To: us...@shibboleth.net
Subject: Re: AttributeQuery failing: CURLSOAPTransport error