Skip to content

Commit

Permalink
replace binary pfx with text based formats to prevent git from messin…
Browse files Browse the repository at this point in the history
…g it up
  • Loading branch information
martetassyns committed Dec 6, 2024
1 parent 39b7fcb commit 76d791c
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 2 deletions.
19 changes: 19 additions & 0 deletions script/serve.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDDDCCAfSgAwIBAgIIfUe7tkwbkhEwDQYJKoZIhvcNAQELBQAwFDESMBAGA1UE
AxMJbG9jYWxob3N0MB4XDTIxMTIzMTA1NDgwMVoXDTIyMTIzMTA1NDgwMVowFDES
MBAGA1UEAxMJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQEAxfND9r1VoBJON91dz2/60WfUJKSTkXEJItMU0ZvoIyWiH51DydFS8q2oM5zB
GQz92dRIaMQHz7TqHhRnZ/sOzqJ2ZOUGTWwzYt6I8Yq/sMimS421/ogsB5K3rYL0
EvMfb33Wejt30krD6AtWf/a+Mz8GpmC1a+BE6nti7o0frvK5xNwTnOi/utY72tN1
1rcVLFMVzJBf6o9X8cGEEAsyMiBr7HPAyRkP2k3PQE0icVuMSEc63KLzqYp9tLKO
6zgQNs1W2WbMxQ3CgEio3f5PMld56aMomUcxJ0Tn12n4YvyvwOu6DZVX3xHVvXHH
FyBny4OjKF31pl9HWqlzrRTM8QIDAQABo2IwYDAMBgNVHRMBAf8EAjAAMA4GA1Ud
DwEB/wQEAwIFoDAWBgNVHSUBAf8EDDAKBggrBgEFBQcDATAXBgNVHREBAf8EDTAL
gglsb2NhbGhvc3QwDwYKKwYBBAGCN1QBAQQBAjANBgkqhkiG9w0BAQsFAAOCAQEA
MnIxAm0k70OfJWMCN9FdiJW2zAScvmv/DywqPoJqTrEelnszrROK2XynS536JeXg
lbIhZRfKTA3IABgGdoG/6soQYfMGFAwaRKmXh+KchThLrtuck+tX30KHJFHxD4cX
Jf2sqSSz5ol3X+W0CgWxPUOklPX3MDrAJ++U43njokZd6Q3eqes+HQl1XRM8Jsla
xPXTsG++48aJl6l0Lz6hqTSA9z7H6ddC3NWWHz9vrpGem/oaMXfdftnD8VultQX4
al/iGwwLMMinGAOYmYF8qCWbcj1YNkqI7Iiu8ZQCOLMwr3HDA9SAvLLprw18dWSy
K73E/ijgqgJ70XV3MNGlCw==
-----END CERTIFICATE-----
4 changes: 2 additions & 2 deletions script/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const useHttps = coreUrl.startsWith("https:");
const appServer = useHttps
? https.createServer(
{
pfx: fs.readFileSync(repoDir + "/script/serve.pfx"),
passphrase: "localhost",
key: fs.readFileSync(repoDir + "/script/serve.key"),
cert: fs.readFileSync(repoDir + "/script/serve.crt"),
},
app
)
Expand Down
28 changes: 28 additions & 0 deletions script/serve.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDF80P2vVWgEk43
3V3Pb/rRZ9QkpJORcQki0xTRm+gjJaIfnUPJ0VLyragznMEZDP3Z1EhoxAfPtOoe
FGdn+w7OonZk5QZNbDNi3ojxir+wyKZLjbX+iCwHkretgvQS8x9vfdZ6O3fSSsPo
C1Z/9r4zPwamYLVr4ETqe2LujR+u8rnE3BOc6L+61jva03XWtxUsUxXMkF/qj1fx
wYQQCzIyIGvsc8DJGQ/aTc9ATSJxW4xIRzrcovOpin20so7rOBA2zVbZZszFDcKA
SKjd/k8yV3npoyiZRzEnROfXafhi/K/A67oNlVffEdW9cccXIGfLg6MoXfWmX0da
qXOtFMzxAgMBAAECggEBAMKH97GCjaQ6eR3TcP6LiIzEIapFBjR3Rkgv8hSvx6jK
shGphlXOXVraKCNYmDdbGhk40lQK2bZYj38yBBEem4WcCQfMPq5VeAZgtWnSNeGw
viQfxsu13Lcwi0t8FwqMXMc/fkgvKujByta+Vap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il/0ckE=
-----END PRIVATE KEY-----
Binary file removed script/serve.pfx
Binary file not shown.

0 comments on commit 76d791c

Please sign in to comment.