Manually updating the certificate solved the issue for me. But i posted the issue in support because, this issue should not be occurring in the first place.
Here are the commands to do it.
openssl x509 -outform der -in httpd.crt -out httpd.der
/opt/amazon-corretto-126.96.36.199.1-linux-x64/bin/keytool -delete -alias test.com.au_httpd -keystore /opt/amazon-corretto-188.8.131.52.1-linux-x64/jre/lib/security/cacerts -storepass changeit
/opt/amazon-corretto-184.108.40.206.1-linux-x64/bin/keytool -importcert -file httpd.der -keystore /opt/amazon-corretto-220.127.116.11.1-linux-x64/jre/lib/security/cacerts -alias dev-test.com.au_httpd -storepass changeit
Pls let me now if this solves the issue.