You can find the original articles here:
To Generate a Certificate Signing Request for Apache 2.x
- Log in to your server's terminal (SSH).
- At the prompt, type the following command:openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
Replace yourdomain with the domain name you're securing. For example, if your domain name is coolexample.com, you would type coolexample.key and coolexample.csr.
Place the bellow to force all URL in a webapp to be SSL(HTTPS) this configuration is places in webapps/<webapp directory>/WEB-INF/web.xml
NOTE: If you already started your ./configure (autoconf) run you will need to locate the localized libtool.m4 commands in configure.status