1 /* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef __CERTIFICATE_H__ 8 #define __CERTIFICATE_H__ 9 10 enum tls_tag { 11 /** Used for both the public and private server keys */ 12 HTTP_SERVER_CERTIFICATE_TAG, 13 /* Used for pre-shared key */ 14 PSK_TAG, 15 }; 16 17 static const unsigned char server_certificate[] = { 18 #include "server_cert.der.inc" 19 }; 20 21 /* This is the private key in pkcs#8 format. */ 22 static const unsigned char private_key[] = { 23 #include "server_privkey.der.inc" 24 }; 25 26 #if defined(CONFIG_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED) 27 #include CONFIG_NET_SAMPLE_PSK_HEADER_FILE 28 #endif 29 30 #endif /* __CERTIFICATE_H__ */ 31