edit Makefile

This commit is contained in:
finlab 2021-01-17 05:32:41 +08:00
parent ea69c6b33a
commit f2c01cf1b2

View File

@ -44,25 +44,3 @@ openapi:
--openapiv2_out ./gen/openapi2 \
--openapiv2_opt logtostderr=true \
/protos/echo/v1/echo.proto
certs:
openssl genrsa -out ca.key 2048
openssl req -new -x509 -days 3650 \
-subj "/C=GB/L=China/O=gobook/CN=github.com" \
-key ca.key -out ca.crt
openssl req -new \
-subj "/C=GB/L=China/O=server/CN=server.io" \
-key server.key \
-out server.csr
openssl x509 -req -sha256 \
-CA ca.crt -CAkey ca.key -CAcreateserial -days 3650 \
-in server.csr \
-out server.crt
openssl req -new \
-subj "/C=GB/L=China/O=client/CN=client.io" \
-key client.key \
-out client.csr
openssl x509 -req -sha256 \
-CA ca.crt -CAkey ca.key -CAcreateserial -days 3650 \
-in client.csr \
-out client.crt