Skip to content

Commit

Permalink
adds special self-signed root cert
Browse files Browse the repository at this point in the history
  • Loading branch information
BugRoger committed Dec 13, 2017
1 parent 53fac3a commit 207b043
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions pkg/templates/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,20 @@ systemd:
RestartSec=10s
[Install]
WantedBy=multi-user.target
- name: updatecertificates.service
command: start
enable: true
contents: |
[Unit]
Description=Update the certificates w/ self-signed root CAs
ConditionPathIsSymbolicLink=!/etc/ssl/certs/48b11003.0
Before=early-docker.service docker.service
[Service]
ExecStart=/usr/sbin/update-ca-certificates
RemainAfterExit=yes
Type=oneshot
[Install]
WantedBy=multi-user.target
networkd:
units:
Expand All @@ -168,6 +182,45 @@ networkd:
storage:
files:
- path: /etc/ssl/certs/SAPNetCA_G2.pem
mode: 0644
contents: |
-----BEGIN CERTIFICATE-----
MIIGPTCCBCWgAwIBAgIKYQ4GNwAAAAAADDANBgkqhkiG9w0BAQsFADBOMQswCQYD
VQQGEwJERTERMA8GA1UEBwwIV2FsbGRvcmYxDzANBgNVBAoMBlNBUCBBRzEbMBkG
A1UEAwwSU0FQIEdsb2JhbCBSb290IENBMB4XDTE1MDMxNzA5MjQ1MVoXDTI1MDMx
NzA5MzQ1MVowRDELMAkGA1UEBhMCREUxETAPBgNVBAcMCFdhbGxkb3JmMQwwCgYD
VQQKDANTQVAxFDASBgNVBAMMC1NBUE5ldENBX0cyMIICIjANBgkqhkiG9w0BAQEF
AAOCAg8AMIICCgKCAgEAjuP7Hj/1nVWfsCr8M/JX90s88IhdTLaoekrxpLNJ1W27
ECUQogQF6HCu/RFD4uIoanH0oGItbmp2p8I0XVevHXnisxQGxBdkjz+a6ZyOcEVk
cEGTcXev1i0R+MxM8Y2WW/LGDKKkYOoVRvA5ChhTLtX2UXnBLcRdf2lMMvEHd/nn
KWEQ47ENC+uXd6UPxzE+JqVSVaVN+NNbXBJrI1ddNdEE3/++PSAmhF7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QV8Ffcm458q5S6eGViVa8Y7PNpvMyFfuUTLcUIhrZv
eh4yjPSpz5uvQs7p/BJLXilEf3VsyXX5Q4ssibTS2aH2z7uF8gghfMvbLi7sS7oj
XBEylxyaegwOBLtlmcbII8PoUAEAGJzdZ4kFCYjqZBMgXK9754LMpvkXDTVzy4OP
emK5Il+t+B0VOV73T4yLamXG73qqt8QZndJ3ii7NGutv4SWhVYQ4s7MfjRwbFYlB
z/N5eH3veBx9lJbV6uXHuNX3liGS8pNVNKPycfwlaGEbD2qZE0aZRU8OetuH1kVp
jGqvWloPjj45iCGSCbG7FcY1gPVTEAreLjyINVH0pPve1HXcrnCV4PALT6HvoZoF
bCuBKVgkSSoGgmasxjjjVIfMiOhkevDya52E5m0WnM1LD3ZoZzavsDSYguBP6MOV
ViWNsVHocptphbEgdwvt3B75CDN4kf6MNZg2/t8bRhEQyK1FRy8NMeBnbRFnnEPe
7HJNBB1ZTjnrxJAgCQgNBIQ=
-----END CERTIFICATE-----
- path: /var/lib/iptables/rules-save
filesystem: root
mode: 0644
Expand Down

0 comments on commit 207b043

Please sign in to comment.