Place your key the cert in here before build app.
Or generate by yourself:
openssl req -nodes -new -x509 -keyout server.key -out server.crt
- one command generate without interaction:
openssl req -nodes -new -x509 -keyout server.key -out server.crt -subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname"
For now, not support encrypted ssl key.
This folder should be like this.
tls
- server.key
- server.crt
- mod.rs
- cert_verifier.rs
- .gitignore
- readme.md