You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:NH
Locality Name (eg, city) []:My Town
Organization Name (eg, company) [Internet Widgits Pty Ltd]:SAU123
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:sso.myschool.org
Email Address []:admin@myschool.org
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
<VirtualHost *:80>
# Send all http traffic to the https host
ServerName sso.myschool.org
RewriteEngine On
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
# Replace 192.168.0.1 with the IP address of YOUR server.
<VirtualHost 192.168.0.1:443>
SSLEngine on
SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
SSLCertificateFile /etc/apache2/ssl/sso.myschool.org.crt
SSLCertificateKeyFile /etc/apache2/ssl/sso.myschool.org.key
SSLCertificateChainFile /etc/apache2/ssl/gd_bundle.crt
ServerName sso.myschool.org
DocumentRoot /var/simplesamlphp/www
Alias /simplesaml /var/simplesamlphp/www
# Optional:
# Don't allow ANY connections other than to the scripts needed for the type of SSO we're doing here.
RewriteEngine On
# Uncomment these two lines for debugging:
#RewriteLog "/tmp/debug.log"
#RewriteLogLevel 9
RewriteCond %{SCRIPT_FILENAME} !.*SSOService.php$
RewriteCond %{SCRIPT_FILENAME} !.*logout.php$
RewriteCond %{SCRIPT_FILENAME} !.*loginuserpass.php$
RewriteCond %{SCRIPT_FILENAME} !.*initSLO.php$
RewriteCond %{SCRIPT_FILENAME} !.*SingleLogoutService.php$
# Let yourself into the SimpleSAMLPHP admin interface if you want, by putting your IP here:
#RewriteCond %{REMOTE_ADDR} !173.13.101.253
# This should name one of your Google Apps pages:
#RewriteRule .* http://mail.google.com/a/myschool.org
RewriteRule .* http://mail.myschool.org
</VirtualHost>
'enable.saml20-idp' => true,