| 1 | [ req ] |
| 2 | prompt = no |
| 3 | default_md = sha256 |
| 4 | distinguished_name = req_distinguished_name |
| 5 | x509_extensions = v3_ext |
| 6 | [ req_distinguished_name ] |
| 7 | countryName = US |
| 8 | stateOrProvinceName = Washington |
| 9 | localityName = Seattle |
| 10 | organizationName = Amazon |
| 11 | organizationalUnitName = SDKs |
| 12 | commonName = localhost |
| 13 | emailAddress = [email protected] |
| 14 | [ v3_ext ] |
| 15 | # iOS 13+ and macOS 10.15+ require Subject Alternative Name and ExtendedKeyUsage with serverAuth |
| 16 | extendedKeyUsage = serverAuth |
| 17 | subjectAltName = @alt_names |
| 18 | [ alt_names ] |
| 19 | DNS.1 = localhost |
| 20 | IP.1 = 127.0.0.1 |