1 /* 2 * Copyright (c) 2018 Nordic Semiconductor ASA 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 #define PSK_TAG 2 12 13 #define TLS_PEER_HOSTNAME "localhost" 14 15 /* This is the same cert as what is found in net-tools/echo-apps-cert.pem file 16 */ 17 static const unsigned char ca_certificate[] = { 18 #include "echo-apps-cert.der.inc" 19 }; 20 21 #if defined(CONFIG_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED) 22 #include CONFIG_NET_SAMPLE_PSK_HEADER_FILE 23 #endif 24 25 #endif /* __CA_CERTIFICATE_H__ */ 26