fleet/server/service/testdata/server.key
Victor Vrantchan 60062834c8 add endpoint to serve the kolide certificate back to the user (#1025)
add endpoint to serve the kolide certificate back to the user

The API will attempt to establish a TLS connection and fetch the certificate from the TLS ConnectionState. 
The PEM encoded certificate will be served to the client in a JSON response as a base64 encoded string. 

Closes #1012
2017-01-20 14:32:10 -05:00

28 lines
1.6 KiB
Plaintext

-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEA3Vdpw+hV4Y/4pLkJMwSUtmFqg6hntniWfEZOz+uvlnbgNZRF
RdD4lgfP8qEjWvcfoDpXpNakel9VkO2asxsJEBQMykDp1NLUpPBvPIGTvlwRy028
LSqRM8yNPo5dXg9+hhf4W1I8PVnXBJQsuTIg23oaF6/wXahoAz9zFfBg/v4e+Pjd
wH1naVJaFRr3FUqFAyoROh2Kr78blk7Vbc6MlBvFOpV5PbcedSKkCnUHycP2FLCV
qU7MHp9s2TCjFsc7dlFKEnq6CUdV4sxccSSjYbgD4S5/wkjKcEptxsIinY9FMoIt
0QV1pBOS+A8EOYk3PcEGILhqzx+hebMBDAxXAQIDAQABAoIBAQDDTw/Xu5qUd7ra
dyAj8YXbzOf1FtO1UoDPVibTF1AQAANlo9jgez3u/SPEH+YXrXoto22U2YW3KYpS
YSchpdiAZIDIszDiB8t1Y2d0R4576bgV4hkK7cXEpFl5+ptulVN6tYoD4vOe2zh9
JNa18ALIR9zgS/JYYnKtcv51PHAKb8MxAaB7pCaJb3XYljm/ZgrFJSrnxy6B1EMM
3oqMq6gOZMtzFVFZ6M7YIq0lns2fa0ViwqftoN19v10eClu/9xMPVW0dkZtXoaRA
cqRGizWLNAO4mRABikAN0OeSsvGol9X0uln0dCVYVJSDbqEi/1hx1Bp6VEveJDvh
Gehqf/mlAoGBAP1fEXLqIOC1PhHMMyLH7+8+DY8snXuBjxxY101uvnjwp920Dxpg
s0VAEJ3IYcuQ5BKVpmKbZFtwF8ohNtBk7Foy++DTtA9BZVdF7skbD5p0GbqiCPN/
JeaBm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