Photo by Jon Moore on Unsplash

The WebCrypto API

Following up on last week’s post, it was decided that we would generate the private keys in the user’s browser, and then it would be uploaded to the server for the creation of the certificate. At first glance, this seemed to compromise security because by right the private key should Read more…

Photo by Charles Deluvio 🇵🇭🇨🇦 on Unsplash

Back to Square One

There is nothing much to be said for this week. The only implementation I’ve attempted to get done for this week, is the part where the server application interfaces with the WooCommerce REST API, in order to create products and coupons, when an organization makes an order for a certificate. Read more…

Photo by Jon Moore on Unsplash

So it Continues…

As time goes on, the details and requirements of the project start to emerge themselves progressively. At this point of time, we have two kinds of products, one for individuals and another for organizations. In the case of organizations, they have the choice of buying an intermediate CA certificate and Read more…

Photo by Jon Moore on Unsplash

PKCS#12 in OpenSSL

On a previous blog post, I talked about the flow of my project in detail, but then I realized that I was missing something important. The crux of the matter was I mentioned that when the customers have made the order and paid for the subscription, the certificate would be Read more…

Photo by Jon Moore on Unsplash

Hitting a Brick Wall

It was about time to start writing some code since I already got the gist of how the application is gonna work overall. Nothing much has been done at this point, but so far I had set up two REST endpoints to handle both Subscription Created and Updated webhooks. As Read more…

Photo by Jon Moore on Unsplash

Fitting the Pieces Together

At this point, I am more or less aware of how the whole flow of my project is gonna work, after having a fruitful discussion with Dr Shawn. Let me first summarize the flow from the perspective of the customer: Customers can subscribe to a license, in accordance to their Read more…

Photo by Jon Moore on Unsplash

Renewing Subscriptions

In the last blog post, I talked about the structure of how certificates would be created. I would now be talking a bit about the renewal process in WooCommerce subscriptions and how it relates to the renewal of the certificates as well. Subscriptions in general involves having recurring payments that Read more…

Photo by Jon Moore on Unsplash

Another One

The time has come to embark on a new project. Although a different project on its own, it is closely related to the P3 project I was working on previously. The P3 application authenticates users through client certificates, but how and where are they gonna get the certificates? This is Read more…