7 lines
162 B
Bash
Executable File
7 lines
162 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mkdir -p certs
|
|
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
|
|
-keyout certs/local.key -out certs/local.crt \
|
|
-subj "/CN=*.docker.localhost"
|