1 /* 2 * Copyright (c) 2020 Linumiz 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef __CA_CERTIFICATE_H__ 8 #define __CA_CERTIFICATE_H__ 9 10 #define CA_CERTIFICATE_TAG 1 11 12 /* By default only certificates in DER format are supported. If you want to use 13 * certificate in PEM format, you can enable support for it in Kconfig. 14 */ 15 16 /* GlobalSign Root CA - R2 for https://google.com */ 17 #if defined(CONFIG_TLS_CREDENTIAL_FILENAMES) 18 static const unsigned char ca_certificate[] = "self_sign.der"; 19 #else 20 static const unsigned char ca_certificate[] = { 21 #include "self_sign.der.inc" 22 }; 23 #endif 24 25 #endif /* __CA_CERTIFICATE_H__ */ 26