Skip to content

Instantly share code, notes, and snippets.

@Bachsau
Last active December 5, 2023 02:06
Show Gist options
  • Save Bachsau/a300b13de142cdcf0ae07e5f3d557888 to your computer and use it in GitHub Desktop.
Save Bachsau/a300b13de142cdcf0ae07e5f3d557888 to your computer and use it in GitHub Desktop.
TLS certificate for testing on localhost
-----BEGIN PRIVATE KEY-----
MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDCS1cz8+MwcnN6
A5qK30AQX+CPXNwuYF738+1zhlVuHzdo/3X76Go1lCfFM+8lpYYxKPOsz6cgLf5f
HWfc3Ikj1OCmHs5LorfQKVormkbBW9aBwaN79Uq+Y8+r6dz0pT0HyLzcWQ/DDgbX
GAzU1hZcuYw5UjN4dptpZk27sTKTrukgNcMttC0CRYgpV1ICCgeT7D1mVAoB+oeF
0I+OxkX5vkPZAab/nzGSuW+hMHiwsf0OoNtkAxkGjrPvHXmB6t/MrYDByCQBi3x9
jhRKZ4ADPXCZMTw7iUoAqBDJ4imMbHN/cfonuKmU0YSbQJYLrZFhOVWHHGJeeXqW
8EuYojaxsxR8YRirNKNVSaUA+7zo0zMWo1Ig1tqONSwZys3QbZA4W3nibICZA8bR
0onKo1iyq+ASHxD7hEEKHLuZnfgs5y8jXbIyxOMAiiFHJoRwwckJ3PcsmvUmpHuG
MinJisbDAVGk2wAzZ7clZs9l510sgFw9RrEGvedB1lO6UFxs2VxxyH6sOfWc4HTs
tFENODNNj+vf3CcwzqWaDb/WBvgCRWEMrZgr02TZZjEWsY9+msPMaIH0SW1v15Kt
1GSrOUSbz0LdB46aqhmtZx7rWu85Vuck89kkGviaTLOD17MH+eGbgiwxWLzGmnzm
/VwbPIfnizsVM3KIq7N+oIu6sy3uxwIDAQABAoICACO8xOTu8rZqDth+CjKJ/tgk
MoNcIrm7CyzTZrUtm9AeGMyM1JBJvyNsxWXt+Ap2KDkpnayHI2f1Xcjz+TM0M1tu
YAXeO7bIzsOQn5/OiD4vnMSQL/hwdVeQt1W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LOD17MH+eGbgiwxWLzGmnzm/VwbPIfnizsVM3KIq7N+oIu6sy3u
xwIDAQABo4GaMIGXMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgWgMB0GA1Ud
JQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjA5BgNVHREEMjAwgglsb2NhbGhvc3SC
CyoubG9jYWxob3N0hwR/AAABhxAAAAAAAAAAAAAAAAAAAAABMB0GA1UdDgQWBBQT
aMrBRb0uavY70g4p3FBs25HQoDANBgkqhkiG9w0BAQ0FAAOCAgEAhOx/8qYb2m1S
yYBbhJYLHrVDYSvXXnc5DTLZEROkLut4JVyeKMvUiUxmdT/VK37AeLa71pei8w33
keRvfXwLf2hEJiHeu1RGpFqw3tNq0ktM9ZQomYWaMoCaQMRWwRXfj9PR/KFUSUg+
VHHCbv1CsexlTCOSr/jvmfzrBsQkXipUzRRhy6FvkJHpw/yWNY1bbqcd/yCh767j
hbamV433DvWcwVoDazV68AdYNcaPkxCgyOvrVgt0QMTg1WQSo2m63ALWe2k00tdi
dg74oK+cG4Eyrdo9VDClF3groWGMwcKnFX2YucQqwB9Wncau5r8knp8J024h/7Yu
5VMBJLw58GmIAYqznvN5AetdpvU4S4f1TjYJ6JOWl+pjHYryE1tvBqXUt4r7WD6q
UcjVohC5idkC/ss+wjElrMrUamGWc9x9xGdXj1LNqTmOloOcgFcxj53QwJuV3/WJ
bOMkcPKP1nexatZvswZlx85ueWssoIR0CvxuEYppdW5UfZmp7k2NtYONjqrAgI9b
dsQ89BgIrrdG1Xwe07FcTR5knzTyRA3vyFEz+MCvbeFf43bwi0zBN10T2V9eMg2E
E536yICy89RdHGeg1Ltxd6sXMChqMegVPAamAEYWZfU3c2/JQN83kK6++6aoCypx
4QDSzjvOtK1ruKcjXCv3sTBpWZtXCgk=
-----END CERTIFICATE-----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment