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
562 views

Raw signature of public key vs full certificate

I'm working on an device that will have its own keypair to sign data that it acquires. The public key will be signed with a provisioning key to ensure authenticity of the device. I want to put the ...
2
votes
1answer
227 views

CRL number generation sequence: can I use a time stamp?

RFC 5280 states that the CRL number should monotonically increase. I have seen this common practice of incrementing the CRL number by 1, every time a new CRL is generated. But can I use a Unix (epoch ...
0
votes
1answer
552 views

How can I verify a client's identity by requesting a digital certificate?

So I am registering users and I need to know they really are who they say they are. More importantly that they represent the company they say they represent. I was told I can ask them to send me a ...
1
vote
1answer
464 views

Best practice to create certificate by CA

I suppose that I have this scenario: Root CA Intermediate CA Practice 1: The Root CA generates her own $PK_r$ and $PB_r$ key, and after it makes her certificate $Cert_r$. The Intermediate CA ...
2
votes
1answer
746 views

What is the maximum length of a X.509 OID?

I'm working on a feature for a project to determine if a given X.509 certificate is an EV Certificate, and if so, who is the authority behind that certificate. To do this, I grabbed the list of EV ...
4
votes
1answer
75 views

Why are some websites seemingly immune to self-signed certificate MitM attacks?

I recently did an experiment using MitM to gain account information (username and password) while accessing websites. I used two PCs in the scenario; one as the target, running Internet Explorer, and ...
3
votes
1answer
91 views

How can I validate a given Server-Certificate behind a HTTPS-connection?

I know more or less about how TLS works in principle. But how can I be sure, that the certificate behind a server's web site (e.g. tele-banking from my bank) has been issued to my bank and not to ...
0
votes
1answer
5k views

What is the correct format for a CRLF in a SSL certificate's pem

Currently I am working with SSL certificates inside a Ruby on Rails application. I am storing the certificates in a database along with the corresponding dhparam, and chain. At some point I want to ...
4
votes
3answers
538 views

Deduce modulus N from public exponent and encrypted data

This is an RSA question, given data encrypted with a public key from an unknown RSA certificate of 2048 bit, let $X$ be the encrypted data, $M$ the unencrypted data, $c$ the public exponent and $N$ it'...
1
vote
1answer
1k views

How can a company have its own Certificate Authority for internal use?

It is possible for a company to deploy its own CA ? How would browsers accept the certificates ? Supposing a company does not want to use the role of a commercial server like Windows Server or any ...
3
votes
3answers
379 views

Does the Shappening mean HTTPS can be broken?

For years we've been warned that SHA-1 is weaker than originally thought and should not be used. This reached its peak with the Shappening and experts from Schneier on down have been warning that we ...
4
votes
2answers
3k views

Certificate Authority RSA key expiration?

My understanding about SSL/TLS for HTTPS is that servers send their certificates to browsers and browser attempt to decrypt them using trusted CA public keys that are already presented in their store. ...
3
votes
1answer
647 views

What are the information signed by a Certification Authority?

What data does a CA sign? I know that in a certificate there is plenty of information like the serial number of the certificate itself, the X.509 version number, the user Public Key, the asymmetric ...
0
votes
0answers
53 views

Verification of Certificates in a Chain

The question is not about mathematical cryptography but about the practical usage of certificates and their chained verification. Please let me know, if this is the wrong place to post the question. ...
0
votes
1answer
98 views

Certificate revocation

When someone claims that the private key corresponding to the public key has been stolen, and sends to the CA a statement of this fact signed with respect to public key pk. Why doesn't the CA need ...
0
votes
1answer
133 views

Where x509 signature validation is concerned, what does the error “x509 certificate chain incomplete of leaf TP not found” mean? [closed]

I'm validating the x509 signature of an XML document and I encounter the following error: "x509 certificate chain incomplete of leaf TP not found" Any thoughts on what the impact is for a TLS ...
1
vote
2answers
111 views

Are there example certificates available for test purposes?

Are there example certificates (PEM format) for testing available somewhere ? For test purposes I would need a certificate signed with SHAS256/ECDSA P-256, together with a complete chain to test ...
1
vote
1answer
1k views

How is the PKCS #10 signature generated?

I'm generating certificate signing request in iOS, which does not provide proper ready-made API for CSR generation. Now the library I have used for CSR generation produces the different signature for ...
3
votes
1answer
44 views

Shortest Path for Certificate Network

I was reading an example from my textbook about verifying a certificate from a client using a certificate network. The example in the book is as follows: A issues a certificate to B. A issues ...
2
votes
1answer
107 views

Any case that can require to encrypt a certificate revocation list before distribution

As far as we know certificate revocation lists (CRLs) include public information so they do not have to be encrypted before distribution. Is there a case that can require to encrypt it before ...
0
votes
1answer
62 views

Same certificate for server authentication and authorizatoin in other system

I have a program which acts as a node in a larger system. Those nodes can be connected to form a tree. TLS with mutual authentication is required, which means that each node has it's own certificate. ...
2
votes
2answers
1k views

Parsing of X.509 certificates

I'm working on a firmware for a platform with limited resources with C as programming language. There are a set of cryptographic primitives to be implemented, including AES, GCM/GMAC, ECDSA, ECDH. ...
0
votes
1answer
67 views

Method to verify a signed archive's X.509 CoT

I am trying to understand the key high level details behind verifying trust when downloading an archive. This is my understanding of how it could be done: On the Software Developer side: Obtain a ...
0
votes
1answer
98 views

Is there a way to inercept encrypted https connections by mimicking a cert authority?

In this video, it is shown how encryption can be theoretically intercepted without the client noticing it. In short something in between the connection could make a handshake with the requested ...
1
vote
1answer
2k views

RSA and ECDSA Certificate Sizes

Is there a table (or a whitepaper from official sources) that compares the size of X509 certificates generated with RSA (starting from 1024 bits) and ECDSA (starting from 160 bits) ? Thanks for the ...
19
votes
2answers
38k views

Difference between “Signature Algorithm” and “Signature Hash Algorithm” in X.509

What's the difference between the "Signature Algorithm" and the "Signature Hash Algorithm" found in an X.509 certificate? Why does it need a "Signature Hash Algorithm"? Edit: I'm creating the X.509 ...
1
vote
1answer
130 views

Can I discard a specific X509 signature from file?

I'm writing a program to sign files using X.509 certificates and .NET framework classes. My users can sign the same file more than once without any problem (like a revision process). So, a file may ...
3
votes
1answer
3k views

Extra attributes in a certificate signing request

When creating a certificate signing request, there is a part where openssl says "Please enter the following extra attributes to be sent with your certificate request". One of these is a challenge ...
2
votes
3answers
87 views

Is there a method/protocol to validate a self-signed certificate by comparing a shortened hash?

I'm working on a solution where an iPad should connect to a server software running on a laptop using TLS with a self-signed certificate that was automatically generated on the laptop during the ...
8
votes
1answer
30k views

Is PKCS7 a signature format or a certificate format?

I always though PKCS7 was a signature format. However, on the net I find several references to PKCS7 being a certificate format - for example, this talks about PKCS7 certificate: Extract raw ...
1
vote
0answers
46 views

Direct Anonymous Attestation

Could anyone explain me Direct Anonymous Attestation in general terms. I have been trying to read the paper but I really cannot seem to get my head around it. It may seem like a dumb question but I am ...
0
votes
1answer
173 views

X509 Cert exploit CA check

Assumptions Let's theoretically assume that a browser skips the check that a certificate it receives belongs to the stated CA (that's an exercise). How could I exploit this in order to impersonate ...
21
votes
2answers
17k views

Unpredictability of X.509 serial numbers

About X.509 certificates serial numbers the RFC 5280 says: The serial number MUST be a positive integer assigned by the CA to each certificate. It MUST be unique for each certificate issued by a ...
6
votes
2answers
249 views

Is the warning given by chrome warranted?

I went to a payment page on a site recently, and chrome was warning me that the page is possibly not secure, I have a very basic understanding of crypto but not enough to fully understand why this ...
2
votes
1answer
353 views

Can (EC)DH keys be used as the signed content in X.509 certificates?

From Wikipedia's article on ECDH: The public keys are either static (and trusted, say via a certificate)… Also see this question on this very site. These indicate to me that a certificate (maybe ...
4
votes
1answer
1k views

How does certificate-based encryption solve key revocation problem?

How does certificate-based encryption solve key revocation problem? For example, if a user accidentally reveals its secret key or an attacker compromises it, the user may request revocation of its ...
10
votes
2answers
14k views

How does a client verify a server certificate?

As far as I know, when I request a certificate from Verisign (for example), and after they approved that me is me, they create a certificate (for me) which contains the digital signature and public ...
2
votes
1answer
454 views

Why does Apple create a certificate for my push notification key [closed]

Brief rundown of how Apple Push Notifications (APN) work: Generate a keypair, generate a CSR for it Upload the latter to your Apple Developer account and associate it with your mobile app In the ...
1
vote
0answers
84 views

IX509Extension XCN encoding?

I understand from reading MSDN that the X509 v3 extensions must be handcrafted. This involves the CRL, AIA, name and policy constraints, policy mapping, private key usage period, and subject ...
0
votes
1answer
26 views

What will browser show when a user access website and website present certificate of some other domain with same top level domain [closed]

For example, User tries to access a.example.com and server presents abc.example.com with a.example.com not in SANs list. Will it be just a warning or an error?
3
votes
1answer
88 views

How is the root certificate transmitted to pc?

i understand that the purpose of root certificates and CA's is to ensure that the communication parties are who they say they are. But how is the root certificate acquired? Is it not possible that ...
5
votes
2answers
8k views

Diffie-Hellman Key Exchange with Authentication: Man-in-the-Middle query

I have been reading up on MiTM attacks, and the prevention of them using public key certificates. Recently I learnt about Diffie-Hellman Key Exchange with Authentication, and how it uses signed ...
2
votes
1answer
155 views

Would SHA-1 be safe for certificates with short validity?

There are articles floating around the topic of SHA-1 deprecation. The gist of it is that in (mostly) developing countries, people are still using mobile/computing devices that are 5 years old (or ...
1
vote
1answer
668 views

How to verify CA certificate from Yubico with openssl?

I'm going to verify the CA certificate from Yubico. I copied the whole certificate from -----BEGIN CERTIFICATE----- to ...
1
vote
3answers
721 views

How does the certificate trust model work in detail?

How does the whole achitecture between the certificate authority (e.g VeriSign) and its clients (e.g foo.com) work. How does my browser know that foo.com hasn't created its own certificate, wrote "...
1
vote
1answer
615 views

Rogue CA Certificate MD5 Collision Control

Papers from Marc Stevens et al show that X509 certificates that rely on MD5 signatures can break the assumed security model, that is, it allows for a forged certificate to have the same signature as a ...
3
votes
1answer
127 views

X509 certificates: Two Algorithm Identifiers?

I'm wondering why there are two Algorithm Identifiers in a X509 certificate. One is in the "to be signed" part and the other one is at the end right before the actual signature. Are they used for the ...
0
votes
2answers
125 views

Certificate Path Verification of X509 Certificate

I have the trusted root certificate which I am validating using the self signed key. I also have the intermediate certificate, which i am validating using the root certificate. Now when i am ...
8
votes
2answers
293 views

Must root certificates be self signed?

Root certificates are normally self-signed. What is the reason behind that convention? I mean, one must trust the root certificate in a non cryptographic way anyhow.
2
votes
2answers
256 views

Authenticating code securely and generating a certificate

I'm working on a product with strong security. Essentially there is an App, downloaded from the iTunes App Store. When the App starts up, it generates a strong RSA keypair and stores it in the ...