• Java: Key store and pfx files

    November 23, 2019 by

    There is a Java-based web application in our company which is going to be extended to be able to communicate with a certain tax authority through an API. The tax authority issues a pfx file containing a key and a certificate and expects all API requests to contain the pfx (as base64 string) and its pin (the password for encrypting the pfx) in certain fields. The Java-based application uses a jks Java key store to store all kind of certificates and keys. The team has decided that the pfx should be stored in the key sore using Java Key Tool. The service responsible for communication with the tax authority then has to retrieve it and use it for the communication through the API. This is exactly what I am supposed to implement. Let’s start… Read more

  • Introduction

    November 22, 2019 by

    Hi! I am Seaid Zarghani. I am a software developer. I often use google to find out how other developers have solved a certain problem. Here I want to share my solutions, hoping it saves someone else’s time a little.

View all posts

Follow My Blog

Get new content delivered directly to your inbox.