Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:certificates [2021/08/04 09:22] – Wolfgang Pempe | en:certificates [2024/08/27 08:23] (current) – [Information for Service Providers] Wolfgang Pempe | ||
---|---|---|---|
Line 11: | Line 11: | ||
==== Information for Service Providers ==== | ==== Information for Service Providers ==== | ||
All certificates and the respective private keys used for SAML-based communication have to be added to your SP's configuration, | All certificates and the respective private keys used for SAML-based communication have to be added to your SP's configuration, | ||
+ | |||
+ | \\ | ||
=== DFN-PKI Certificates === | === DFN-PKI Certificates === | ||
- | For general information, please refer to https:// | + | For SAML-based communication, 3-year valid certificates from the [[de: |
- | If you are entitled to request certificates issued by DFN-PKI, please select the " | + | |
+ | \\ | ||
=== Common Trusted CA Certificates === | === Common Trusted CA Certificates === | ||
You can use certificates issued by common Certification Authorities (CAs) that are preinstalled in the most common web browsers (Google Chrome, Firefox, Microsoft Edge). If you get an " | You can use certificates issued by common Certification Authorities (CAs) that are preinstalled in the most common web browsers (Google Chrome, Firefox, Microsoft Edge). If you get an " | ||
+ | |||
+ | \\ | ||
+ | |||
+ | === Be careful with wildcard certificates! === | ||
+ | |||
+ | Since wildcard certificates are valid for an entire subdomain and can therefore be used for several entities at the same time, the potential damage in the event of a compromise of the private key is significantly higher than with certificates for precisely specified FQDNs. Therefore, wildcard certificates should only be used in the DFN-AAI if the usage scenario technically requires it. For example, there are software systems, especially in the library context, which dynamically generate host names and which do not work with conventional certificates. Examples of such software: EZProxy, Netman/HAN. | ||
+ | \\ | ||
+ | One and the same wildcard certificate should not be used on different servers with different services, purposes or protection classes. Due to the higher potential for damage in the event of compromise, wildcard certificates are not a proven means of saving work when applying for and deploying certificates. \\ | ||
+ | |||
+ | Wildcard certificates are therefore only accepted in the DFN-AAI below sub-domains or second-level domains that are used exclusively for a clearly defined purpose, e.g. for ''" | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
=== Own/Local CA === | === Own/Local CA === | ||
- | For institutions/ | + | For certificates from a local CA the same rules apply as for self-signed certificates, see below. |
- | **Note:** If required, local CAs can also be hosted by the DFN-PCA (contact: https:// | + | |
- | **Important: | + | \\ |
- | A good guide to operating your own CA can be found [[https:// | + | |
- | Parameters to be considered: | + | |
- | * Root Private Key: RSA, 4096 Bit | + | |
- | * Validity of the root certificate: | + | |
- | * Validity of the issued certificates: | + | |
- | * Key length of the issued certificates: | + | |
- | * Signature algorithm: sha256 | + | |
- | * The CN of the issued certificate corresponds to the FQDN of the respective IdP/SP host. | + | |
=== Self-signed Certificates === | === Self-signed Certificates === | ||
- | Self-signed certificates may be used if they are not valid for longer than 39 months. For production, the CN (or the subject alternative names) of the certificate must at least contain the domain name of the SP. Ideally it should contain the complete host name. As for the technical details, please refer to the online documentation of [[https:// | + | Self-signed certificates may be used if they are not valid for longer than 39 months. For production, the CN (or the subject alternative names) of the certificate must at least contain the domain name of the SP. Ideally it should contain the complete host name. As for the technical details, please refer to the online documentation of [[https:// |
- | Before joining the DFN-AAI production federation, self-signed certificates have to be verified by the DFN-AAI operations team. For this purpose, the following options are available after you uploaded your certificate in the metadata administration tool: | + | |
- | * Send us the certificate in an S/ | + | \\ |
- | * An alternative way is to offer us a possibility to download the certificate via https (e.g. via your SPs metadata handler or a download link to the file on your webserver). The SSL connection to the webserver has to be secured by a trusted CA certificate. | + | |
- | * If none of these options works for you, please get in touch with us (+49 30 884299-9124, | + | |
- | < | + | < |
**As for Service Providers that are already registered with another federation, the same certificate (i.e. the one registered with the other federation) may be used even if the aforementioned requirements are not met.** In this case, please drop a note to the DFN-AAI [[hotline@aai.dfn.de|helpdesk]]. | **As for Service Providers that are already registered with another federation, the same certificate (i.e. the one registered with the other federation) may be used even if the aforementioned requirements are not met.** In this case, please drop a note to the DFN-AAI [[hotline@aai.dfn.de|helpdesk]]. | ||
</ | </ | ||
Line 89: | Line 97: | ||
If there is another intermediate certificate, | If there is another intermediate certificate, | ||
- | If you use the Apache webserver, point the SSLCACertificateFile directive to your chain file. (See the example configuration on [[de:shibidp3prepare-http# | + | If you use the Apache webserver, point the SSLCACertificateFile directive to your chain file. (See the example configuration on [[de:shibidp: |
Once you have added you certificate chain, adapted your configuration and activated it you can verify it with OpenSSL: | Once you have added you certificate chain, adapted your configuration and activated it you can verify it with OpenSSL: |