aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-08-25 17:45:59 -0700
committerFuwn <[email protected]>2021-08-25 17:45:59 -0700
commit91eb82610b017f1e549bc0bde2050bbcb9715602 (patch)
tree31af6a9041c4d7b42cbdcd6dff4ccdd628129667
parentfeat(robots): also disallow /proxy (diff)
downloadspace-91eb82610b017f1e549bc0bde2050bbcb9715602.tar.xz
space-91eb82610b017f1e549bc0bde2050bbcb9715602.zip
feat(make): ssl task makes directory as well
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 854498f..ea66986 100644
--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,10 @@ build: fmt
validate: .space/.certificates/space.crt .space/.certificates/space.key
ssl:
+ mkdir -p .space/.certificates
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes \
- -out space.crt \
- -keyout space.key \
+ -out .space/.certificates/space.crt \
+ -keyout .space/.certificates/space.key \
-subj "/CN=fuwn.space"
docker: fmt