mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
* Docker work - New image based on xenial. - Simplified workflow with docker-compose - Update the readme with docker-compose section - Move docker related stuff to a dedicated folder * Add a gen-cert.sh to the container image * Document certificate generation and how to test all sample servers
9 lines
239 B
Bash
Executable File
9 lines
239 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
set -euo pipefail
|
|
|
|
openssl genrsa -aes256 -out key.pem -passout pass:temp 2048
|
|
openssl rsa -in key.pem -passin pass:temp -out key.pem
|
|
openssl req -x509 -key key.pem -out cert.pem -days 10950 -new -subj "/CN=localhost/"
|