
I present multiple ways of installing certificates: Explaining how TLS/HTTPS/SSL works, i.e., X509.But they are planning on creating their own in the future. E.g., if you’re using Google Chrome, you’re good as of now, because it uses the system’s store. So if you want some applications to trust your certificate you need to add it to those particular store. There’s a lot of different CA (Certificate Authority) root trust stores, not all applications uses the system’s, e.g., macOS Trust Store. What I want to achieve looks something like this:ĭiagram rendered by the amazing plantuml ☝️ The alternative would be to add every certificate you create to every trust store.

When you need to create new certificates you can do so successfully as long as those are signed by your root certificate. I.e., when you have created one root certificate with mkcert you only have to add it once to the trust stores. And by doing that all the certificates (intermediate or leaf) signed by that is automatically trusted because of the “chain of trust”.

L: If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request in the new place.This article is about adding your own root CA certificate to your local root trust stores. Once installed, you can test the curl command by sending requests to using curl -I -L command as shown below. Once the installation is complete, verify it by typing curl in your terminal: curl Using curl The installation is pretty straightforward: sudo apt update sudo apt install curl If you get an error message saying curl command not found when trying to download a file with curl, it means that the curl the package is not installed on your Ubuntu machine.Ĭurl is included in the default Ubuntu 22.04 repositories. In this tutorial, we will learn how to make different HTTP POST requests by using curl. Even the curl command-line tool is created for the Linux operating systems it is cross-platform and can be used for Windows, MacOSX, BSD, etc. But the most popular usage with the curl command is making HTTP post requests.

Curl is accessible on Windows, Linux, and Mac, making it the go-to choice for developers across all platforms.Ī cURL is computer software and command-line tool used to make requests for different protocols. Curl is a command-line utility that allows users to create network requests.
