Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutual TLS Authentification - Read Certificates from a Filesystem #82

Open
SJDickinsonSDS opened this issue Nov 21, 2022 · 2 comments
Open
Labels
question Further information is requested

Comments

@SJDickinsonSDS
Copy link

Hi, I'm using your library to connect to AWS's IoT Core using MQTT over TLS.

I'd like to be able to store my certificates in a filesystem, namely SPIFFS and read them from there before passing them to SSLParameters::. My reading of the documentation and source code suggests that isn't really possible as SSLParameters:: needs to be called before a filesystem would normally be mounted in setup(). It seems this would limit the library to hard-coded certificates and thus make certificate exchange difficult?

I could be missing something, is there a way to store certificate in a filesystem and use them with this library?

@SJDickinsonSDS SJDickinsonSDS added the question Further information is requested label Nov 21, 2022
@bakadave
Copy link

I have the same question.

@scsPEp
Copy link

scsPEp commented Mar 13, 2023

I think following issue already has the solution for your problems. At least it worked for me.

#34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants