forked from Krautspace/doorstatus
35 lines
926 B
Text
35 lines
926 B
Text
/*
|
|
* file: certs.template
|
|
* desc: This file is part of the Krautspace Doorstatus project. It contains
|
|
* certificates for the statusclient.ino programm, that runs on a NodeMCU
|
|
* with a ESP8266 chip.
|
|
*
|
|
* Replace the comments in certificate sections with our own certificates.
|
|
*/
|
|
|
|
constexpr static inline char const CA_CERTS[] PROGMEM = R"EOF(
|
|
-----BEGIN CERTIFICATE-----
|
|
/*
|
|
* lace for the public server certificate to authenticate the doorstatus
|
|
* server.
|
|
*/
|
|
-----END CERTIFICATE-----
|
|
)EOF";
|
|
|
|
constexpr static inline char const CLIENT_CERT[] PROGMEM = R"EOF(
|
|
-----BEGIN CERTIFICATE-----
|
|
/*
|
|
* Place for the clients (this program) public certificate to authenticate
|
|
* client against the server.
|
|
*/
|
|
-----END CERTIFICATE-----
|
|
)EOF";
|
|
|
|
constexpr static inline char const CLIENT_KEY[] PROGMEM = R"EOF(
|
|
-----BEGIN RSA PRIVATE KEY-----
|
|
/*
|
|
* Place for the clients private key file.
|
|
*/
|
|
-----END RSA PRIVATE KEY-----
|
|
)EOF";
|
|
|