Hello ,
I hope everybody is fine.
Sorry, I need help.
I focused the mqtt ssl example project been ready in esp-idf . However I can see I must add .pem file before compile and I must add target_add_binary_data command in CMake file.
However,I want to change .pem(certificate) file when i want it after device is ready to work.
Is it possible ?
If it is possible, I think that i must use file server. However , how it chose file and install without need compile again ? Can it embed .pem file through restart or any way but still if is necessary, after i add .pem file in file server in ESP32?
Can any body help me about this idea?
thanks already...
Can i install and use .pem (certificate ) file after flash esp32?
-
- Posts: 5
- Joined: Mon May 10, 2021 10:59 am
-
- Posts: 9724
- Joined: Thu Nov 26, 2015 4:08 am
Re: Can i install and use .pem (certificate ) file after flash esp32?
Seems you accidentally had your caps lock enabled when typing the title. I fixed it for you.
-
- Posts: 5
- Joined: Mon May 10, 2021 10:59 am
Re: Can i install and use .pem (certificate ) file after flash esp32?
Thanks to fix if it require,ESP_Sprite wrote: ↑Fri May 24, 2024 2:53 amSeems you accidentally had your caps lock enabled when typing the title. I fixed it for you.
I think it is rule for forum. Sorry i didn't know it.
Have you any suggestion for my topic I'm curious about. I see you are administrator. So i think you may knowledge something about ESP. you can know somethings about this topic.
Thanks already.
Kayip-Adam
-
- Posts: 1701
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Can i install and use .pem (certificate ) file after flash esp32?
Among other options, you can store the certificate in NVS, see e.g. https://simplyexplained.com/blog/esp-id ... partition/
-
- Posts: 5
- Joined: Mon May 10, 2021 10:59 am
Re: Can i install and use .pem (certificate ) file after flash esp32?
Hi,MicroController wrote: ↑Fri May 24, 2024 6:25 pmAmong other options, you can store the certificate in NVS, see e.g. https://simplyexplained.com/blog/esp-id ... partition/
Thank you very much for link. I liked it. It shown very clearly.
I read it it is you full for OTA. I would also like that i will learn OTA in short time.
However, actually my problem is that i don't want build and flash again after i put ".pem " file in folder directory.
You assume it please.
you prepared web server on ensp32. you connected web page on it. you see area to fill for .pem file. you can draged&droped file to this area. you assume just a file enough for certificate. Ok it must be everything it this! esp32 will use the new .pem file that you installed yet, when you restart your esp32.
I hope I could explain my problem clear.
Can you explain shortly how can you prepare to do list ?
Thanks...
Kayip-Adam
Who is online
Users browsing this forum: Bing [Bot], Gaston1980, Majestic-12 [Bot] and 254 guests