For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| @Configuration | |
| public class MultiConnectionSupport { | |
| @Value("${server.port}") | |
| private int serverPort; | |
| @Value("${server.http.port}") | |
| private int httpServerPort; | |
| @Bean | |
| public EmbeddedServletContainerFactory servletContainer() { |
| location /alias-name { | |
| alias /data/path-alias-name; | |
| location ~ \.php$ { | |
| fastcgi_split_path_info ^(.+?\.php)(/.*)?$; | |
| fastcgi_pass 127.0.0.1:9000; | |
| #fastcgi_pass unix:/var/run/php5-fpm.sock; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $request_filename; | |
| include fastcgi_params; |
| openssl rand -base64 6 | |
| openssl rand -hex 4 | |
| openssl rand -base64 8 | md5 | head -c8;echo | |
| openssl rand -base64 6 | |
| ping -c 1 yahoo.com |md5 | head -c8; echo |