Score:0

Install a self-signed certificate in .p7b format, created on another machine, on Ubuntu Tomcat

va flag

I am a Microsoft stack guy who is in desperate need for some linux administration...

As stated in the title, there is a .p7b file (10kb size) that I need to install on Tomcat, running on Ubuntu. At the same folder there was another "self-signed.txt" (2kb size) file. Those files were created elsewhere.

When I search "how to install .p7b certificate on Tomcat" I found a command

keytool -import -trustcacerts -alias server -file your_file_name.p7b -keystore your_domain_name.jks

in which there is a mention of .jks file. Since I didn't create a CSR for that certificate, I don't have a .jks file that would match with that .p7b file. All other search results I came up with mention that .jks file, like putting the signed certificate in the same folder with the .jks file, etc...

Tomcat And Java Version Information:

Server version: Apache Tomcat/9.0.38
Server built:   Sep 10 2020 08:20:30 UTC
Server number:  9.0.38.0
OS Name:        Linux
OS Version:     5.11.0-1027-azure
Architecture:   amd64
JVM Version:    11.0.8+10
JVM Vendor:     Oracle Corporation

I need some guidance. Any help is very much appreciated...

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.