Hello Chandrashekar, Anil,
Thank you for posting your question in the Microsoft Q&A forum.
When deploying Spring Boot microservices as Azure Container Apps and using Feign clients for inter-microservice communication, encountering SSL-related errors such as javax.net.ssl.SSLException: Unsupported or unrecognized SSL message can be challenging. This error typically occurs when there is a mismatch between the protocol (HTTP or HTTPS) being used by the Feign client and the target service.
The error message indicates that the Feign client is attempting to establish an HTTPS connection, but the target service (abcservice) is likely serving HTTP traffic. This mismatch causes the SSL handshake to fail, resulting in the SSLException. To resolve this issue, you need to ensure that the Feign client and the target service are aligned in terms of the protocol being used (HTTP or HTTPS).
By verifying the service URL, ensuring the correct protocol, and configuring the Feign client appropriately, you can resolve this issue. If the target service uses HTTPS, ensure that SSL certificates are properly configured and trusted by the Feign client.
Please refer below Microsoft and Spring documentation for further information on above:
https://learn.microsoft.com/en-us/azure/container-apps/ingress-overview
https://docs.spring.io/spring-cloud-openfeign/docs/current/reference/html/
https://docs.spring.io/spring-boot/how-to/webserver.html#howto.webserver.configure-ssl
https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-domain-ssl-certificates
If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. Your contribution to the Microsoft Q&A community is highly appreciated.