Solved

Intermediate Certificates

Posted on 2011-03-01
3
733 Views
Last Modified: 2012-05-11
2 years back, I have been provided with .cer (SSL Certificate )and .pfx( Digital Signing Certificate) file by the vendor to connect to an Webservice .

While coding in VC++ I used ".pk8" or "".pem"for the testing after converting the cer using openSSL and was able to make connection in dev and production.

Now after 2 years, I have got an "Intermediate Certificate" from the vendor. I wanted to know since we have never installed certificates in production server browser as the process calls the private and public keys from the files stored locally , extracted from root certificates and those  certificates were not installed on the server browser, so I really need "Intermediate Certificates"?
 I am able to connect to in development without the use of intermediate certificates. am I missing anything?

0
Comment
Question by:rbhargaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 35009658
This is actually an interesting question.

historically, it was down to the server to deliver not only the end use certificate but also any intermediate certificates needed to complete the certification chain.

More recently though, modern certificates seem to *assume* that an intermediate certificate will be required, and provide, not that certificate, but a reference within the end use certificate to where the intermediate certificate can be found. It is then down to the relying client to obtain the intermediate certificate from the URI supplied, using the embedded reference.

Not all old browsers support this however, so you may see cases where an older browser (or ssl library) refuses a valid certificate because the intermediate was not supplied and it does not respect the embedded URI that could be used to obtain it.  In such cases, you can obtain and import the certificate manually to complete the authentication (this is painful, but from a security point of view it might be better than trusting not only every root ca in your store, but a potentially unlimited number of intermediates; sadly they could still achieve validity even in such older browsers by supplying the intermediate in the ssl handshake)
0
 

Author Comment

by:rbhargaw
ID: 35011503
Thanks Dave! So do think I ask the support team to just install the certificates?
0
 
LVL 33

Expert Comment

by:Dave Howe
ID: 35012175
depends on the server. normally though, the process from a commercial CA is that you generate a local CSR file, which you upload to the CA; you get back from that a CER file (actually a DER or PEM encoded certificate) which you then import into the system that generated the CSR, and it combines it (internally) with the secret key to form a pair.

That can then be exported as a pkcs #12 (p12 or pfx) file, but usually isn't (other than for backup purposes) as usually the system generating the CSR is also the server that will be using it.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question