github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/grpc/grpc_test/testdata/copyCerts.sh (about) 1 #!/bin/bash 2 src_dir=../../../x509/testdata 3 dist_dir=. 4 5 cp ${src_dir}/sm2_ca_cert.cer ${dist_dir}/ca.cert 6 cp ${src_dir}/sm2_sign_cert.cer ${dist_dir}/sign.cert 7 cp ${src_dir}/sm2_sign_key.pem ${dist_dir}/sign.key 8 cp ${src_dir}/sm2_auth_cert.cer ${dist_dir}/user.cert 9 cp ${src_dir}/sm2_auth_key.pem ${dist_dir}/user.key