Nevermind guys, found the problem. Despite that I declared an NTP server to keep the device's clock synchronized, it didn't. So the device's date and time was set to somewhere in May 2000, After I made sure Time Sync was correct. I was able to import my CA's root certificate correctly.