diff --git a/Makefile b/Makefile index aedc5b8..66df6f7 100644 --- a/Makefile +++ b/Makefile @@ -43,26 +43,4 @@ openapi: --proto_path ./protos \ --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 \ No newline at end of file + /protos/echo/v1/echo.proto \ No newline at end of file