fi-operations/DevOps/dns-and-ssl.md
Mike Phares 3a3f5bcd02 Update SSL Certificate Request
VSCode SSH
- Allows using VSCode to build code as if you were on remote machine.
- Remote machine will still need dotnet SDK

Added AppSetting Markdown
2025-04-02 16:13:03 -07:00

47 lines
1.4 KiB
Markdown

---
type: note
created: 2023-07-08T02:49:15.281Z
updated: 2023-07-08T03:32:53.694Z
---
# DNS Order and SSL Order
## DNS Order
- [dns-entry](https://smptools.infineon.com/smptinyurl/orderable/?name=SSO-New%20DNS%20Entry%20%281%29)
![DNS Entries](Images/image-2023-4-26_12-24-36.png)
## Self-signed Certificate
```bash
cd "C:\Program Files\Git\usr\bin"
openssl
req -x509 -nodes -days 365 -newkey rsa:2048 -keyout "L:\Git\NGINX-Conf\conf\includes\localhost.key" -out "L:\Git\NGINX-Conf\conf\includes\localhost.crt" -config "L:\Git\NGINX-Conf\conf\includes\localhost.conf"
```
```conf
ssl_certificate "includes/localhost.crt";
ssl_certificate_key "includes/localhost.key";
```
## Server Certificate (SSL/TLS) Order
- [certificate-request](https://smptools.infineon.com/smptinyurl/orderable/?name=SSO-Certificate%20Request)
![Certificate Request](Images/image-2023-4-26_12-25-33.png)
### Example for eaf-dev-reporting.mes.infineon.com
```bash
cd "C:\Program Files\Git\usr\bin"
openssl
req -newkey rsa:2048 -keyout "L:\Git\NGINX-Conf\conf\includes\eaf-dev-reporting.mes.infineon.com.key" -out "L:\Git\NGINX-Conf\conf\includes\certificate-signing-request.csr" -config "L:\Git\NGINX-Conf\conf\includes\eaf-dev-reporting.mes.infineon.com.conf"
```
```conf
ssl_certificate "includes/eaf-dev-reporting.mes.infineon.com.cer";
ssl_password_file "includes/eaf-dev-reporting.mes.infineon.com.pass";
ssl_certificate_key "includes/eaf-dev-reporting.mes.infineon.com.key";
```