Skip to content

[Question] How to use the builtin certificate bundle for verification? #12718

Description

@ram-bt

Board

ESP32 Dev Module

Device Description

ESP32 DevKitc V4 - plain module

Hardware Configuration

No

Version

v3.3.10

Type

Question

IDE Name

VSCode

Operating System

Linux

Flash frequency

80Mhz

PSRAM enabled

no

Upload speed

921600

Description

API for using cert bundle requires *bundle and size (expecting application to provide a cert bundle) but i want to use the builtin cert bundle

While looking i saw that NetworkClientSecure lib uses esp_crt_bundle_attach() inside attach_ssl_certificate_bundle. Also during connection start_ssl_client if we pass useRootCABundle true then it will use the cb set by attach_ssl_certificate_bundle. I wanted to use the builtin cert bundle but i can't find a way with the current API for the same. Is this intended design and i'm missing something here?

Sketch

N.A.

Debug Message

N.A.

Other Steps to Reproduce

N.A.

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions