@Omar Navarro When you first install IoT Edge and provision your device, the device is set up with temporary certificates so that you can test the service. These temporary certificates expire in 90 days, or can be reset by restarting your machine. Once you move into a production scenario, or you want to create a gateway device, you need to provide your own certificates.
I suggest you, please go through Manage certificates on an IoT Edge device, Understand how Azure IoT Edge uses certificates and IoT Edge Logging Module for more details.