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. Even so, I have yet to get it fully working, as I have some weird issues with boost::json parser. Regardless, not too long after that, Dr Shawn gave me access Read more…

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 manage the issuing of new certificates themselves, or they entrust us with that process. Now if it is the latter option, the intermediate CA certificate will be stored in our Read more…

Photo by Jon Moore on Unsplash
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 created and an email will be sent to them, with a download link provided to install that certificate into the browser. This actually only applies to individual users. What about Read more…

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 mentioned before, the Subscription Created endpoint is responsible for saving the subscription ID into the database temporarily as well as marking it as a subscription CREATED event. That’s all it Read more…

Photo by Jon Moore on Unsplash
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 prefered category, i.e Hobbyists, Professionals, Organizations, etc. Upon purchasing the license successfully, they will be given a download link to whereby the certificate would be automatically installed in their browser. Read more…

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 are due at regular intervals, e.g: a week, a month, a year, etc. When the payments are made before or by the due date, the subscription is said to be renewed. There Read more…

Photo by Jon Moore on Unsplash
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 where this project comes in. From here on, I would be referring to this project as 4k. The project was already in development since 2 years ago, done by previous Read more…

Uneventful Week

There is nothing much to be said for this week, but I’ll try my best as I can. Basically time for this week was spent addressing minor UI issues in my project. One of it was making my carousel component to be a bit more generic, so that it could hold not only the projects themselves, but also the project templates. This could be done through Slots in Vuejs. Basically, with slots, you could pass in anything into your component, Read more…

Photo by Fabian Grohs on Unsplash

Spring Cleaning Part 6

So a few things were done for this week, which I will talk about one by one. First of all, the boost::json thread safety issue is finally resolved. The issue was that the #define BOOST_SPIRIT_THREADSAFE directive needs to be defined in every single source file that includes the property tree header files. It turns out I missed one of the files that had included those header files without the thread safety directive, so after adding it, the server process does Read more…

Here the Journey Ends!

This week is the last week of my internship. Time really flies. I feel like it has not been so long since I have written the blog for the first week of my internship. This week, I was mainly working on making documentation of all the work I have done. Making documentation is a useful practice that helps other developers who want to contribute be able to understand what has been done so they can catch up on the project. Read more…

Photo by Fabian Grohs on Unsplash