A proxy between IDP and SP
nossair nossair
nossairmail at gmail.com
Fri Jan 9 11:56:19 EST 2015
j'ai installé un SP sur une machine avec une adresse privé. et donc j'ai
proxy entre l'IDP et le SP. le metadata que j'ai mis sur le IDP est :
<!--
This is example metadata only. Do *NOT* supply it as is without review,
and do *NOT* provide it in real time to your partners.
-->
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
ID="_bc9a0ec6b3e1ca4fb60c2939990175785efd9c5e" entityID="PIXID-SP-SG">
<md:Extensions xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport">
<alg:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/>
<alg:DigestMethod Algorithm="
http://www.w3.org/2001/04/xmldsig-more#sha384"/>
<alg:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<alg:DigestMethod Algorithm="
http://www.w3.org/2001/04/xmldsig-more#sha224"/>
<alg:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<alg:SigningMethod Algorithm="
http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/>
<alg:SigningMethod Algorithm="
http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"/>
<alg:SigningMethod Algorithm="
http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<alg:SigningMethod Algorithm="
http://www.w3.org/2009/xmldsig11#dsa-sha256"/>
<alg:SigningMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1
"/>
<alg:SigningMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1
"/>
</md:Extensions>
<md:SPSSODescriptor
protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol
urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:1.0:protocol">
<md:Extensions>
<init:RequestInitiator
xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
Binding="urn:oasis:names:tc:SAML:profiles:SSO:request-init" Location="
http://integration.services.net/SG/Shibboleth.sso/Login"/>
</md:Extensions>
<md:KeyDescriptor>
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:KeyName>PIXID-SP1</ds:KeyName>
<ds:X509Data>
<ds:X509SubjectName>CN=PIXID-SP1</ds:X509SubjectName>
<ds:X509Certificate>MIIC4jCCAcqgAwIBAgIJAIlLqUtIsrc9MA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNV
BAMTCVBJWElELVNQMTAeFw0xNDEyMTcxNjQxMTNaFw0yNDEyMTQxNjQxMTNaMBQx
EjAQBgNVBAMTCVBJWElELVNQMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAMewLzXsQVXJ8v80W5atcbWPGrCwQvN8uC+yJLksVBRbHmejUDz2LMkkMeTK
8vCrQ0A6pqRbg6NjJ3+SRT484yUe8J491aB5WhXvyt5cdSvnjvi869z6UbZzclDu
cbzyRo/mYp81dcq/spcBafku9pT7CnwuZzFur8EQRyE6Hdy4lYzKjENITE/8Ptsg
m3fT3Svf77jqrp4d27shbyMmPrQD1A6Ln4XLoRSJdWzKhH4Kmhdngh+Lj72IakMb
rVGWK+JwIOsS6eRU1G4sqMtGhRWf/LL/OB/plmn065ah0xCXb6XqGTtlSah3kIvA
4Zx8CcRh4cQZ+BEvz3yhsH1MTdMCAwEAAaM3MDUwFAYDVR0RBA0wC4IJUElYSUQt
U1AxMB0GA1UdDgQWBBTPIJ12RvsUEbGxiRFm7a6d2eoM+zANBgkqhkiG9w0BAQUF
AAOCAQEAF0/o9aVr94+pmsN0OwqJfBK6WM0hoJSWB6m1FvC1zQNjk3BhsQR8zgc8
cNe6wfeBjFH61gW6j4m+YtOt9LkBOAODGk5L8FduTkoUs/cmwaPxYdHvW2rF2qnf
ad8GYcqISkUX440rkjf806fBgwVq1YMfucQaoe+rhSDAkI0droo+z3WTUeFKUGA/
mlD6nUdSOQhKNKXiZAttQx7ScMKIl3SqtOUacUbyEweX5XlzRBIAl9flr8cOkipt
LMaGq+tyaKCUx7qe20qpJ4pGknWZw9THtBvVt+RX5/1NvkmpVFUgevN8wBAbbmMR
JA2Besk9NzBQr7ItKYtMdDaONgvsEw==
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
<md:EncryptionMethod Algorithm="
http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
<md:EncryptionMethod Algorithm="
http://www.w3.org/2001/04/xmlenc#aes192-cbc"/>
<md:EncryptionMethod Algorithm="
http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
<md:EncryptionMethod Algorithm="
http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
<md:EncryptionMethod Algorithm="
http://www.w3.org/2009/xmlenc11#rsa-oaep"/>
<md:EncryptionMethod Algorithm="
http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/>
</md:KeyDescriptor>
<md:ArtifactResolutionService
Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="
http://integration.services.net/SG/Shibboleth.sso/Artifact/SOAP" index="1"/>
<md:AssertionConsumerService
Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="
http://integration.services.net/SG/Shibboleth.sso/SAML2/POST" index="1"/>
<md:AssertionConsumerService
Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign"
Location="
http://integration.services.net/SG/Shibboleth.sso/SAML2/POST-SimpleSign"
index="2"/>
<md:AssertionConsumerService
Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="
http://integration.services.net/SG/Shibboleth.sso/SAML2/Artifact"
index="3"/>
<md:AssertionConsumerService
Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" Location="
http://integration.services.net/SG/Shibboleth.sso/SAML2/ECP" index="4"/>
<md:AssertionConsumerService
Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="
http://integration.services.net/SG/Shibboleth.sso/SAML/POST" index="5"/>
<md:AssertionConsumerService
Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="
http://integration.services.net/SG/Shibboleth.sso/SAML/Artifact" index="6"/>
</md:SPSSODescriptor>
</md:EntityDescriptor>
et sur le proxy j'ai mis :
ProxyPass /SG/ http://192.168.1.36:8088/SG/ retry=30
ProxyPassReverse /SG/ http://192.168.1.36:8088/SG/
le problème c'est que quand je me connecte j'ai l'erreur sur le navigateur :
The system encountered an error at Fri Jan 9 15:24:07 2015
To report this problem, please contact the site administrator at
root at localhost.
Please include the following message in any email:
opensaml::BindingException at (
http://integration.services.net/SG/Shibboleth.sso/SAML2/POST)
Invalid HTTP method (GET).
can you plz help me to solve this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150109/78c0e043/attachment-0001.html
More information about the users
mailing list