I could solve a part of the problem, and know I can access the <br><br><a href="https://sp.machine.com:553/Shibboleth.sso/Metadata">https://sp.machine.com:553/Shibboleth.sso/Metadata</a> (SP runs under port 553, cause both SP and IdP are running on the same machine)<br>
and<br><a href="https://idp.machine.com/idp/profile/Status">https://idp.machine.com/idp/profile/Status</a><br><br>Nevertheless, when setting <b>clientAuth=&quot;true&quot;</b> in tomcats server.xml I always got the follwing error when trying to access a protecetd ressource.<br>
<b><br>ssl_error_bad_cert_alert</b><br><br>A configured a virtual host in Apache httpd.conf:<br><b><br>&lt;VirtualHost _default_:553&gt;<br>                    ServerName <a href="http://sp.machine.com:553">sp.machine.com:553</a><br>
                    Include D:\opt\shibboleth-sp\etc\shibboleth\apache22.config<br>                    DocumentRoot D:\opt\Apache2.2\htdocs<br>                    ErrorLog D:\opt\Apache2.2/logs/error_ssl2.log<br>                    CustomLog D:\opt\Apache2.2/logs/access_ssl2.log combined<br>
                    <br>                    &lt;Location /secure&gt;<br>                    AuthType shibboleth<br>                    ShibRequireSession On<br>                    require valid-user<br>                    &lt;/Location&gt;<br>
                    <br>  SSLEngine on<br> SSLCertificateFile &quot;D:\opt\shibboleth-sp\etc\shibboleth\sp-cert.pem&quot;<br> SSLCertificateKeyFile &quot;D:\opt\shibboleth-sp\etc\shibboleth\sp-key.pem&quot;<br><br>&lt;/VirtualHost&gt;</b><br>
<br>Still don&#39;t get where the problem is. If i set <b>clientAuth=&quot;false&quot;</b> the error disappears and the shibboleth login appears as wished.<br><br>Stephan<br><br><br><div class="gmail_quote">2012/6/17 Chad La Joie <span dir="ltr">&lt;<a href="mailto:lajoie@itumi.biz" target="_blank">lajoie@itumi.biz</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you went to the status URL (I assume you filled in the proper<br>
hostname) then you didn&#39;t use port 8443 so the connector had nothing<br>
to do with it.  Making the change you did, however, will break any<br>
back-channel requests.<br>
<div><div><br>
On Sun, Jun 17, 2012 at 8:37 AM, Stephan Hackstedt<br>
&lt;<a href="mailto:stephan.hackstedt@googlemail.com" target="_blank">stephan.hackstedt@googlemail.com</a>&gt; wrote:<br>
&gt; One is after follwing the IdP installtin instructin on:<br>
&gt;<br>
&gt; <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/IdPInstall" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/IdPInstall</a><br>
&gt;<br>
&gt; I wasn&#39;t able to access the <a href="https://HOSTNAME/idp/profile/Status" target="_blank">https://HOSTNAME/idp/profile/Status</a> page. Got<br>
&gt; some kind of  bad cert error.<br>
&gt;<br>
&gt; After I changed in apache server.xml<br>
&gt;<br>
&gt; &lt;Connector port=&quot;8443&quot;<br>
&gt;            protocol=&quot;org.apache.coyote.http11.Http11Protocol&quot;<br>
&gt;<br>
&gt; SSLImplementation=&quot;edu.internet2.middleware.security.tomcat6.DelegateToApplicationJSSEImplementation&quot;<br>
&gt;            scheme=&quot;https&quot;<br>
&gt;            SSLEnabled=&quot;true&quot;<br>
&gt;            clientAuth=&quot;true&quot;<br>
&gt;            keystoreFile=&quot;IDP_HOME/credentials/idp.jks&quot;<br>
&gt;            keystorePass=&quot;PASSWORD&quot; /&gt;<br>
&gt;<br>
&gt; to<br>
&gt;<br>
&gt; &lt;Connector port=&quot;8443&quot;<br>
&gt;            protocol=&quot;org.apache.coyote.http11.Http11Protocol&quot;<br>
&gt;<br>
&gt; SSLImplementation=&quot;edu.internet2.middleware.security.tomcat6.DelegateToApplicationJSSEImplementation&quot;<br>
&gt;            scheme=&quot;https&quot;<br>
&gt;            SSLEnabled=&quot;true&quot;<br>
&gt;            clientAuth=&quot;false&quot;<br>
&gt;            keystoreFile=&quot;IDP_HOME/credentials/idp.jks&quot;<br>
&gt;            keystorePass=&quot;PASSWORD&quot; /&gt;<br>
&gt;<br>
&gt; it worked.<br>
&gt;<br>
&gt; Stephan<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2012/6/16 Chad La Joie &lt;<a href="mailto:lajoie@itumi.biz" target="_blank">lajoie@itumi.biz</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; First, be sure you&#39;re using the actual Shibboleth documentation not some<br>
&gt;&gt; third party document.<br>
&gt;&gt;<br>
&gt;&gt; Second, turn on logging for the LDAP library and see what it says.<br>
&gt;&gt;<br>
&gt;&gt; On 6/16/12 11:06 AM, Stephan Hackstedt wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;m new to Shibboleth and trying to setup a test environment on a single<br>
&gt;&gt; &gt; Windows / x64 machine.<br>
&gt;&gt; &gt; I followed some tutorials. Now I&#39;m at a point where I&#39;m trying to access<br>
&gt;&gt; &gt; a ressource on the SP. The redirection to the IdP loginpage works fine.<br>
&gt;&gt; &gt; But I cannot login, no matter if I use the right user/pw combination or<br>
&gt;&gt; &gt; not.<br>
&gt;&gt; &gt; I&#39;m using LDAP as storage for the user data.<br>
&gt;&gt; &gt; I tested two different LDAP Systems (APacheDS, OpenDS) but I couldnt get<br>
&gt;&gt; &gt; it to work. The same error with both.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The connection to the LDAP service can be established successfull on IdP<br>
&gt;&gt; &gt; Startup, but after redirection and typing  username and passwort at the<br>
&gt;&gt; &gt; login screen Shibboleth IdP always gives the message &quot;Credentials not<br>
&gt;&gt; &gt; recognized&quot;.<br>
&gt;&gt; &gt; Are there other configuration files, beside login.conf and<br>
&gt;&gt; &gt; attribute-resolver,xmlm which I need to consider?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; It would be nice, if some has a hint for me regarding my problem, My<br>
&gt;&gt; &gt; progress really stucks.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; conf snippets:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; attribute-resolver.xml:<br>
&gt;&gt; &gt; *<br>
&gt;&gt; &gt;     &lt;!-- Example LDAP Connector for OpenDS--&gt;<br>
&gt;&gt; &gt;     &lt;resolver:DataConnector id=&quot;myLDAP&quot; xsi:type=&quot;dc:LDAPDirectory&quot;<br>
&gt;&gt; &gt;         ldapURL=&quot;ldap://<a href="http://127.0.0.1:12389" target="_blank">127.0.0.1:12389</a> &lt;<a href="http://127.0.0.1:12389" target="_blank">http://127.0.0.1:12389</a>&gt;&quot;<br>
&gt;&gt; &gt;         baseDN=&quot;ou=people,dc=example,dc=com&quot;<br>
&gt;&gt; &gt;         principal=&quot;cn=Directory Manager&quot;<br>
&gt;&gt; &gt;         principalCredential=&quot;secret2&quot;&gt;<br>
&gt;&gt; &gt;         &lt;dc:FilterTemplate&gt;<br>
&gt;&gt; &gt;             &lt;![CDATA[<br>
&gt;&gt; &gt;                 (uid=$requestContext.principalName)<br>
&gt;&gt; &gt;             ]]&gt;<br>
&gt;&gt; &gt;         &lt;/dc:FilterTemplate&gt;*<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; login.config:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; *ShibUserPassAuth {<br>
&gt;&gt; &gt;       edu.vt.middleware.ldap.jaas.LdapLoginModule required<br>
&gt;&gt; &gt;       host=&quot;127.0.0.1&quot;<br>
&gt;&gt; &gt;       base=&quot;ou=people,dc=example,dc=com&quot;<br>
&gt;&gt; &gt;       bindDn =&quot;cn=Directory Manager&quot;<br>
&gt;&gt; &gt;       bindCredential=&quot;secret2&quot;<br>
&gt;&gt; &gt;       port=&quot;12389&quot;<br>
&gt;&gt; &gt;       ssl=&quot;false&quot;<br>
&gt;&gt; &gt;       tls=&quot;false&quot;<br>
&gt;&gt; &gt;       userField=&quot;uid&quot;;<br>
&gt;&gt; &gt; };*<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Regards,<br>
&gt;&gt; &gt; Stephan<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; To unsubscribe from this list send an email to<br>
&gt;&gt; &gt; <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Chad La Joie<br>
&gt;&gt; <a href="http://www.itumi.biz" target="_blank">www.itumi.biz</a><br>
&gt;&gt; trusted identities, delivered<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; To unsubscribe from this list send an email to<br>
&gt;&gt; <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; To unsubscribe from this list send an email to<br>
&gt; <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
<br>
<br>
<br>
--<br>
Chad La Joie<br>
<a href="http://www.itumi.biz" target="_blank">www.itumi.biz</a><br>
trusted identities, delivered<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br>