Skip to content

Commit

Permalink
set cipher
Browse files Browse the repository at this point in the history
Signed-off-by: Cabinfever_B <[email protected]>
  • Loading branch information
CabinfeverB committed Nov 6, 2023
1 parent 50d3cae commit 92340dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pd-api-bench/cert_opt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function generate_certs() {
openssl req -new -key pd-server-key.pem -out pd-server.csr -subj "/CN=pd-server"

# Add IP address as a SAN
echo "subjectAltName = IP:127.0.0.1" > extfile.cnf
echo "subjectAltName = IP:10.2.8.101" > extfile.cnf
openssl x509 -req -in pd-server.csr -CA ca.pem -CAkey ca-key.pem -CAcreateserial -out pd-server.pem -days 1 -extfile extfile.cnf

# Clean up the temporary extension file
Expand Down

0 comments on commit 92340dd

Please sign in to comment.