Create .p12 file from private & public keys and authority ca

I bought an ssl for my backend, and I got 3 files, a private key, a public key and an authority ca certificate.

what i want to do is configure my backend to support https instead of http, my backend i created with spring framework.

after doing my research on the internet, I figured out that I should create .p12 file.

I found this commande

keytool -import -alias springboot -file myCertificate.crt -keystore springboot.p12 -storepass password

but this command uses a single .crt file to generate the .c12 file.

so, how can i use the 3 files i have to generate the .p12 file?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum