Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [certificates]

A certificate consists of a public key and information about the owner (e. g. the name of a person or server).

Filter by
Sorted by
Tagged with
1
vote
1answer
45 views

Is this pairing scheme for establishing trust between two devices with self-signed TLS certs secure from MITM?

Assume two devices (A and B) with self-signed TLS certificates (this part can't change). We want these devices to trust each other. One way to do this is to simply copy A's cert over to B's allowed ...
0
votes
0answers
24 views

How to validate the authenticity and integrity of an XML document?

I am working on a C++ desktop application that reads an XML (also created by my org) from a public server (does not require authentication). I would like to make sure that the downloaded XML has not ...
0
votes
1answer
54 views

Observing cipher suites and certificate algorithms without man-in-the-middle

I manage a proxy server. Is it technically possible to observe and determine which cipher suite is selected between end points (client and server) without changing their SSL certificate, without ...
0
votes
0answers
9 views

Get certificate from DSA Private Key [migrated]

I have a private DSA key in PEM format that contains the following: ...
0
votes
0answers
17 views

how to generate .jks file from .csr file [migrated]

i want to create certificate for tomcat server(.jks). i have one .csr and one .key file.I don't know how to generate jks file. i tried to convert .csr into cer with the help of this site https://www....
3
votes
0answers
56 views

Do people sign my subkey?

So, I've generated my GPG key pair. Created a subkey for signing and a subkey for encryption. Exported the whole thing, removed my master key pair to a secure place, re-imported only the subkeys. Now, ...
0
votes
0answers
4 views

Generating a list of all self-signed certs? [migrated]

I am trying to generate a list of all self-signed certificates in an environment using Powershell. I need this section of my script to be directed toward multiple machines(IP addresses), but am ...
0
votes
0answers
5 views

Get X.509 Certificate ECDH private and public key on Android (Java/Kotlin) [migrated]

I'm currently trying to implement a ECDH algorithm in my android app. But I'm facing an issue, I would like to store the private and public key in Android KeyStore. However in order to achieve this I ...
1
vote
1answer
127 views

How are all necessary parameters shared between signer and verifier in the ED25519 signature scheme?

I want to use the ED25519 signature scheme in my application which requires frequent sharing of secret data between two entities in the public domain. I know that the Schnorr signature scheme has a ...
-2
votes
1answer
66 views

Why do we need HMAC?

AFAIK, HMAC solves the collision problem of hash algorithms by mixing in a pre shared secret. Can't we just use the pre shared secret to symmetrically encrypt data and leave out the hashing?
1
vote
1answer
79 views

How android apk file signing works?

There are a number of pages on web to tell how to sign apk file for Android. But none I've found telling how it works under-the-...
0
votes
0answers
31 views

what is the difference between self issued and an intermediate certificate

Hashicorp vault has an API they call Sign Self-Issued. The use case is for rotating root CAs. A user creates a new root self signed CA and then passes it to this API and what is returned is roughly ...
1
vote
1answer
37 views

What does (06) in “CRL Signing (06)” mean?

In "Certificate details -> key usage -> CRL Signing (06)", what does "(06)" in "CRL Signing (06)" mean?
0
votes
2answers
38 views

How are CRL implemented?

The source from where I learn states:- CRL (Certificate Revocation List) is the primary means of checking status of certificates offline. But I can't seem to understand how is it possible for a ...
4
votes
2answers
134 views

What is cryptographic sealing?

While revising my CAdES library I encountered some "sealing issue" in digital signatures. The Win SDK signtool.exe has a /seal ...
1
vote
1answer
42 views

How are certificate status obtained on browsers?

There are two ways of checking the status of a digital certificate:- Offline Authentication (CRL) Online Authentication (OCSP, SCVP) Several browsers (like Mozilla Firefox) have given up the use of ...
0
votes
0answers
29 views

Pitfalls of wildcard certificates with unique key pairs?

I am having difficulty finding information regarding using wildcard certificates with unique key pairs. I understand if you duplicate key pairs across multiple servers and one becomes compromised, an ...
34
votes
3answers
4k views

Does “Shattered” actually show SHA-1-signed certificates are “unsafe”?

Note: I am not advocating anyone continues using SHA1-signed certificates: they are dead as far as security is concerned and should no longer be used. I'm just trying to clarify my understanding of ...
1
vote
1answer
55 views

CSR signature using elliptic curve [closed]

We've been asked to generate a certificate signing request using elliptic curve and we can't use any third-party library as it's an embedded application with very limited resources). We are used to ...
1
vote
1answer
35 views

How is Cross-Certification implemented?

I am currently learning about Certificates in Public Key Infrastructure. Cross-Certification exists as an alternative because the concept of a single monolithic CA certifying every possible user in ...
2
votes
0answers
53 views

What security is provided by a certificate? [closed]

I've been working on the topic of certificates for a little while, and here is what I understand: A certificate is basically a public key + some data about the owner of the certificate + a signature ...
0
votes
1answer
133 views

Windows certreq full response file [closed]

I'm using the Windows certreq command line tool to submit a CSR for signing to a Windows Server CA. ...
1
vote
0answers
32 views

Include TSA Certificate in Timestamp Request

Im currently working on Timestamping and stumbled upon a parameter fRequestCerts/requestSignerCertificates/certReq that according to the documentations tells a TSA to include the certificate that was ...
1
vote
1answer
59 views

How are public keys securely and reliably obtained across the internet?

I've just decided to start learning all about PKIs, and I have come across what seems like a paradox. When fetching a public key from either a server or a CA, how can we be sure that the public key ...
0
votes
1answer
64 views

Understanding hybrid cryptography's concepts: signing and CA

After learning about symmetric encryption, public-key encryption, one-way hash, digital signature and digital certificate, I was tasked to think of an imaginary hybrid cryptosystem. I was thinking ...
1
vote
3answers
4k views

Is there a complete list of Signature Algorithm names?

I need to analyze the output of rbsec's sslscan which reports a server's SSL/TLS configuration as reported by OpenSSL. I'm interested in the Certificate's Signature Algorithm in particular, and I was ...
3
votes
1answer
55 views

What is the RFC order of peer certificate verification, trust chain or expiry first?

If a certificate received from a peer: Is expired, has a valid signature, but from an untrusted root CA What error should be thrown? Untrusted certificate or expired certificate? I can't seem to ...
2
votes
1answer
119 views

X.509 strong authentication protocols

Is there also a protocol definition in X.509? In "Handbook of Applied Cryptography" by A. Menezes there is a reference to X.509 strong authentication protocol, nevertheless, I could not find the ...
2
votes
1answer
75 views

What key is used to encrypt the certificate and certificate verify message in TLS1.3?

Which key is used to encrypt certificate and certificate verify message in TLS1.3? I could not figure out which one it is reading section 4.4.2 of RFC 8846 and I only saw a vague mention on page 11.
3
votes
2answers
1k views

TLS Handshake : Server authentication or only Server ‘s Certificate authentication?

I have some difficulty understanding the way in which the Server is really authenticated by Client in TLS handshake (in case of using RSA key exchange). When Client receives Server ‘s Certificate and ...
2
votes
2answers
103 views

What data Certificate Authority encrypt for CSR?

I have been searching for a detailed explanation but can’t seem to find a low level one. 1) When CA sign the data with its private key, the encrypted data is APPENED to the csr or the whole cert ...
1
vote
1answer
345 views

sign data and append certificate VS sign data and certificate

I am currently writing my masters thesis in which I need to develop a licensing module for an application. The license itself is a JSON Web Token which is signed using a RSA private key. Since we ...
0
votes
1answer
121 views

How can I verify certificate signature algorithm in TLS 1.3 using PSS?

I've read this post but I'm still unable to understand some things. I'm trying to verify that the signature algorithm used in the certificate matches the proposed list from the client. (As it's ...
2
votes
1answer
257 views

Find hash and signature algorithms used in an X.509 certificate signed with RSASSA-PSS

I'm trying to understand the new PSS scheme, but having trouble figuring out how to parse it properly. When receiving a certificate with OID of RSASSA-PSS, how can I know which hash and signing ...
2
votes
1answer
375 views

How to identify RSASSA-PSS from rsaEncryption OID?

Following the RFC 8446 it states that: RSASSA-PSS RSAE algorithms: Indicates a signature algorithm using RSASSA-PSS [RFC8017] with mask generation function 1. The digest used in ...
0
votes
0answers
57 views

Understanding TLS certificate

I'm newbie in the word of TLS, and need some verification about my picture. I can use TLS with 3 or 2 participants: 3 participants: Client, server, CA (certification authority). The CA is where the ...
1
vote
2answers
478 views

What exactly is the contents of the LDAP userSMIMECertificate attribute?

I'm trying to setup an LDAP with user certificates. I have already learned that certificates can be stored in either the userCertificate attribute in DER format, or ...
2
votes
1answer
169 views

How to generate a certificate/PEM from specific plain text keys?

Is there a way to generate a certificate with a pre-stablished public/private plaint text keys? Explaning: I generated some keys on a web site for development propurses, but now one of the parties ...
0
votes
1answer
43 views

Why CA does not have to be online?

I'm learning publick key infrastructure and certificate authority. But I cannot understand below conecepts. Unlike KDC or public key authority, CA does not have to be online to provide keys to ...
8
votes
2answers
2k views

Why is a CSR signed and which key is used for signing?

I know that a CSR includes a public key from which a signed certificate shall be generated. But why is the CSR istself signed and which key is typically used? For signing I need a private key, so the ...
0
votes
1answer
38 views

When a program using openssl library is using a certificate, does the server check if the issuer(s) are still valid

If I have a program acting as TLS server with a certificate signed by a CA, if one of the issuers in the chain becomes invalidated or the date expires, then how does the program using the certificate ...
1
vote
0answers
15 views

GlobalSign cert in Trusted root for Google Services shows Sha1. Security postures

"GlobalSign" certificate in Trusted Root Certification Authorities for Google Services shows Sha1. Security postures are different than just 2-3 yr ago. At my home, router bought 2016, networked; ...
1
vote
2answers
2k views

Why does curl need both root and intermediate certificates in order to securely connect to an HTTP server?

I have created a root certificate, an intermediate certificate, and a server certificate: ...
0
votes
1answer
90 views

Is the only use for the private key of a root certificate signing certificates issued by it?

A root certificate can be used to issue intermediate certificates. The private key of the root certificate is needed in order to sign any intermediate certificates. However, after that, we only need ...
1
vote
0answers
120 views

TPM 2.0 Reissued EK Cert

Unlike the TPM 1.2 module, the TPM 2.0 specification allows the platform user to create own ...
-1
votes
2answers
2k views

Where is Signaturevalue in Certificate?

Where is the Digital Signature value in my certificate? I can find Signature Algorithm and Signature Hash algorithm. Also why there are two fields specifying the Signature's Hash? With Signature ...
2
votes
1answer
70 views

How does a receiver treat X.509 self-certificate with unknown the Signature Algorithm ID?

As I know X.509 self-certificate is a mechanism that the host generates public and private keys, the public key will insert to a certification and the private key will be used to sign the ...
2
votes
1answer
162 views

Revoke a GPG key using previously generated revoke certificate after renewd (change expiration date)

I have few sub-questions Do secret keys get expired, or just the public key gets expired? Do I have to back up the master sec key each time I renew it? For an ...
0
votes
1answer
112 views

Understanding certificates for public keys with subkey

I have a openpgp key with 3 subkeys: ...
-1
votes
1answer
47 views

I am new to digital certificate 509V3 concept. can some one please clarify the below points [closed]

I am using RSA 2048 with SHA 256 primitive in certificate: How to verify the user certificate n + 1 with Root certificate n? why it is required to perform Certificate chain verification? How to ...