Posts

Showing posts from July, 2022
                         Key Tool commands  Keystores and truststores are repositories that contain cryptographic artifacts like certificates and private keys that are used for cryptographic protocols such as TLS. Keystore: A keystore contains personal certificates, plus the corresponding private keys that are used to identify the owner of the certificate. Truststore: A truststore contains the signer certificates (also known as certificate authority certificates) which the endpoint trusts. A signer certificate contains a public key, which is used to validate personal certificates.  By installing the server’s signer certificate into the client's truststore, you are allowing the client to trust the server when it establishes a TLS connection.  The same principle is true for a server to trust a client when TLS client authentication is enabled. Generate Key store and self signed in one command : keytool -genkey ...
                       Reason Codes Success Response: 200 – OK: The standard HTTP response for successful HTTP requests. In another way, the web server will return 200 when requested content is served successfully. 202 – Accepted: The server has accepted your request and yet to process them. 206 – Partial Content: Only partial content is delivered due to the range header sent by a client like wget. Redirection Response: 301 – Moved permanently: Your requested page has been moved permanently to a new location. This instructs search engine bot to crawl new location. 302 – Moved temporarily: Your requested is served from a different location but that is temporary arrangement. This instructs search engine bot to crawl the original location. 305 – Use proxy: The requested resource is only available through a proxy. That means you must use a relevant proxy to get the requested page successfully. 304 – Not modified: Usually when cache...