Univention Bugzilla – Attachment 9029 Details for
Bug 44704
SAML IdP certificate not accessible on UCS 4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Saml apache config template adjustments
44704-saml-apache-template.patch (text/plain), 888 bytes, created by
Eduard Mai
on 2017-07-14 13:01:03 CEST
(
hide
)
Description:
Saml apache config template adjustments
Filename:
MIME Type:
Creator:
Eduard Mai
Created:
2017-07-14 13:01:03 CEST
Size:
888 bytes
patch
obsolete
>diff --git a/saml/univention-saml/conffiles/etc/apache2/sites-available/univention-saml.conf b/saml/univention-saml/conffiles/etc/apache2/sites-available/univention-saml.conf >index 662974b4c..20a0579e7 100755 >--- a/saml/univention-saml/conffiles/etc/apache2/sites-available/univention-saml.conf >+++ b/saml/univention-saml/conffiles/etc/apache2/sites-available/univention-saml.conf >@@ -15,6 +15,17 @@ RewriteCond %{HTTPS} !=on > RewriteRule ^/?simplesamlphp/(.*) https://%{SERVER_NAME}/simplesamlphp/$1 [R,L] > ''' > @!@ >+@!@ >+import os.path >+cert_path = configRegistry.get('saml/idp/certificate/certificate', '') >+if os.path.isfile(cert_path): >+ print """<Directory {}> >+ <Files {}> >+ Require all granted >+ </Files> >+</Directory> >+""".format(*os.path.split(cert_path)) >+@!@ > > <Directory /usr/share/simplesamlphp/www/> > <FilesMatch ".+\.ph(p[345]?|t|tml)$">
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44704
: 9029 |
9032