We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfd0ed4 commit fab7f8aCopy full SHA for fab7f8a
1 file changed
Makefile
@@ -43,16 +43,16 @@ clean:
43
make clean -C ./advps
44
make clean -C ./keys
45
46
-./keys/.srl:
47
- echo "using OpenSSL 3? it seems to work without .srl"
48
- touch ./keys/.srl
+cleanup_srl:
+ if [ -s ./keys/rootCA.srl ]; then \
+ if [ -s ./keys/.srl ]; then \
49
+ echo "using old OpenSSL"; mv ./keys/.srl ./keys/rootCA.srl; \
50
+ else \
51
+ echo "using OpenSSL 3"; touch ./keys/rootCA.srl; \
52
+ fi \
53
+ fi
54
-./keys/rootCA.srl: ./keys/.srl
- mv ./keys/.srl ./keys/rootCA.srl
-
-rename_srl: ./keys/rootCA.srl
55
-install_ssl: rename_srl
+install_ssl: cleanup_srl
56
cp ./config/ssl.json $(INSTALL_PATH)
57
cp ./keys/rootCA.key $(INSTALL_PATH)
58
cp ./keys/rootCA.pem $(INSTALL_PATH)
0 commit comments