Create Self Signed Certificate - achaux/simplesaml GitHub Wiki

This page will help with the creation of self-signed security certs for the Apache web server. You will also need to create self-signed certs for the SimpleSAML IdP and SP, but we will review that at a later stage.

There are many resources available online to guide you through the process of generating self-signed certificates. When creating certs for Apache or Nginx, I simply use a Shell script that I created to automate the process for me. A generic version of the script can be found at the link provided below. You may need to change the paths to the certificate files to make the script work for your environment. That is done by modifying the SERVER_CERTS_BASE_DIR variable. Take a few minutes to review the script before running it. I do not think that it will work out of the box for all environments.

create-self-signed-cert.sh