You may get InvalidKeyException: Parameters missing error while performing AES encryption or decryption for password or any senstive information.
Learn to use Java AES 256 bit encryption to create secure passwords, and decryption for password validation. To read simple AES encryption, read linked post. 1. AES – Advanced Encryption Standard AES is a symmetric encryption algorithm. It was intended to be easy to implement in hardware and software, as well as in restricted environments […]
SSLHandshakeException appear in logs when there is some error occur while validating the certificate installed in client machine with certificate on server machine. In this post, we will learn about fixing this if you are using Apache HttpClient library to create HttpClient to connect to SSL/TLS secured URLs.
SSL issues are common while working on enterprise applications, but their debugging is not easy. Mostly due to not having enough information in logs. For example, you will get an exception like this for various reasons – I/O error: java.security.NoSuchAlgorithmException: Error constructing implementation. An exception stack trace may look like this: com.howtodoinjava.aav.exception.SystemException: I/O error: java.lang.RuntimeException: […]
To disable or bypass SSL Certificate checking is never a recommended solution for SSL issues, but at test environment – sometimes you may need this.