JMeter 5.6 is having a problem with generating an SSL certificate. I tried this on Windows 10 64-bit version. Therefore, I switched back to the previous version, 5.5. It's working for me now.
Download Jmeter 5.5v official link: https://downloads.apache.org/jmeter/binaries/