Questions tagged [certificates]

A public-key certificate states that a specific public key belongs to a specific identity. Use this tag for all questions on certificates and authentication of public keys (not public-key authentication, which is authentication using public-keys). If certificates are not a central issue in your question, then don't use this tag.

A certificate is a document that binds a public-key to an identity. This binding is done by the digital signature of the certificate issuer. The idea is that if

  • the certificates claims that some key K belongs to some identity I
  • the digital signature scheme is secure (i.e. practically unforgeable)
  • only the issuer can use the issuer's private key (i.e. the issuer is not compromised)
  • an authentic copy of the issuers public key is available
  • the issuer is trusted (in a suitable sense)

then a trusting third party must conclude that K indeed belongs to I. If the last assertion is true and the issuer is trusted, then it is commonly called certification authority (CA). A CA is part of what is called a public-key infrastructure (PKI), which typically also include directory services for the distribution of certificates and information about them and revocation status services for checking the validity of certificates.

Unfortunately, in practice life is often a bit more complex than the above idea since there are inconveniences such as certificate chains, lifetimes, and premature certificate revocation that must be dealt with. Yet, the task that certificates help to address remain: how to distribute public-keys in a trustworthy way?

Among the most famous certificates are certificates, which are ubiquitous in networking. /, and S/MIME use X.509 certificates, so whenever you use on the web, you get your hands dirty. But even some brands of can use X.509 certificates.

Another important certificate type is OpenPGP which is used by former and . These have a much simpler structure than X.509 certificates. The main difference between X.509 and OpenPGP is their underlying trust model. While X.509 is organized hierarchical where there is one and only one certification authority, OpenPGP follows the web of trust where there is no such central instance. (The user is her own certification authority.)

Interested readers may also visit the Information Security SE for questions and answers on security topics.

377 questions
3
votes
1 answer

How to add a local CA authority on an air-gapped host of Debian

Given: an absolutely isolated LAN with a number of web-services using a local CA server. All user hosts have ca-certificates installed and .crt files were installed by update-ca-certificates. Browser-like software, e.g. Chrome and like, are working…
Swift
  • 205
  • 2
  • 11
3
votes
1 answer

Installing the JMeter CA certificate for HTTPS recording

I got stuck in between while installing the JMeter CA certificate for HTTPS recording in the Firefox browser. I have followed the steps and successfully been able to generate the ApacheJMeterTemporaryRootCA.crt file but later on while installing I…
2
votes
1 answer

Why can't gnutls contact this site?

Why can't gnutls contact the site in question, even though wget gets the page just fine? $ gnutls-cli https://site.com/login.php --insecure --print-cert < /dev/null > cert WARNING: gnome-keyring:: couldn't connect to:…
dotancohen
  • 15,864
1
vote
1 answer

Pull website's signing authority's certificate

There's a Docker registry running on my company's internal network at, say, registry.com. I know that the registry is legit but when I run docker login registry.com it complains that the certificate is signed by an unknown authority. Is there a…
Daniel Walker
  • 801
  • 1
  • 9
  • 35
1
vote
1 answer

Using A3 Token (Safenet 5100) in Ubuntu

The company where I work is upgrading the certificates for VPN access from A1 to A3, but I am having trouble getting the new A3 Token to work in Ubuntu. By following a bunch of instructions from around the web and from coworkers, here is what I have…
1
vote
1 answer

Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

See edit below. We are having an issue where we are receiving an error on our Linux server that I am not receiving locally on my mac. on We are using an R library cfbfastR to fetch college football sports data. Info on our linux…
Canovice
  • 187
1
vote
1 answer

How to add a custom root certificate MS Edge on Linux

I have to use MS Edge on Linux, and I need to my company's internal ca root certificate public key to validate internal sites. The security section in Settings there is a "Manage certificates" link, but that does not work.
David
  • 260
1
vote
0 answers

How to get the *trusted* certificate for a host?

Background: In PHP, turning on CURLOPT_SSL_VERIFYPEER and doing lots of requests end up leaving lots of copies of the CA bundle in memory (curl_close doesn't help). A workaround is using a minimal CA bundle, by pulling out the relevant CA…
l0b0
  • 51,350
0
votes
0 answers

Digital Signature Manual Hash Verification

I'm trying to learn PKI and I want to do a test to verify my understanding of digital certificates by comparing hash values... Let me explain. As I understand it in laymens terms, if I have a publically signed digital certificate for a server,…
0
votes
0 answers

Renew certificate

(I deleted the earlier question. Rephrasing here for more clarity from my POV). In my network, I do have one private CA who had issues certificates to 100 machines. Each machine has its expiry date different than others. If this certificate gets…
SHW
  • 14,786
  • 14
  • 66
  • 101
-1
votes
1 answer

Understanding a PEM file and verifying the signature manually

I'm playing around with RSA for learning and understanding. i got the following PEM file from the browser (BASE 64) -----BEGIN…