mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 19:13:26 +00:00
11 lines
275 B
Bash
Executable File
11 lines
275 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
mkdir -p ~/ssl/
|
|
openssl genrsa -des3 -out ~/ssl/AlchemyRootCA.key 2048
|
|
openssl req -x509 -new -nodes -key ~/ssl/AlchemyRootCA.key -sha256 -days 1825 \
|
|
-subj "/C=FR/ST=France/O=Alchemy, Inc./CN=Alchemy" \
|
|
-out ~/ssl/AlchemyRootCA.pem
|
|
|
|
echo "Done."
|