Steps to determine if certificate is 128 or 256 bit

What are the steps necessary to determine if a certificate is 128 bit or 256 bit?
IT GuyNetwork EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dr. KlahnPrincipal Software EngineerCommented:
What kind of certificate?
0
zc2Commented:
Assuming this is a web server certificate and it is installed and configured, then open the site in a browser, then you should open the certificate view dialog. Look at the certificate properties, all the information is there.
0
IT GuyNetwork EngineerAuthor Commented:
How can I make this determination just by looking at the certificate text in a notepad document?

Is the 256-bit certificate longer than the 128-bit certificate?
0
Simple Misconfiguration =Network Vulnerability

In this technical webinar, AlgoSec will present several examples of common misconfigurations; including a basic device change, business application connectivity changes, and data center migrations. Learn best practices to protect your business from attack.

Prabhin MPEngineer-TechOPSCommented:
Hi,
Use the following command in linux to see about the certificate details.
there you can see the signature alogorithm and other details,

If you are using windows type mmc in run-> file=> add-snap-in > certificates> localcomputer> import your certifcate> see the details


openssl  x509 -in selfsigned.crt  -noout -text
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IT GuyNetwork EngineerAuthor Commented:
Also what websites can you go to where you can paste the certificate contents (that are visible when opening the certificate in a text or notepad file) that will let you know if the certificate is 128-bit or 256-bit? Please provide me with the exact URLs for these websites.
0
Prabhin MPEngineer-TechOPSCommented:
Hi ,
Please find the following URL,
https://www.sslshopper.com/certificate-decoder.html
0
Prabhin MPEngineer-TechOPSCommented:
0
nociSoftware EngineerCommented:
openssl x509 -in cert.pem  -text -noout | egrep '(Signature|Key)'

Will tell you the signature hash size & type!  as well as the key sizes.
0
IT GuyNetwork EngineerAuthor Commented:
Are there any ways of determining if a certificate is 128-bit or 256-bit simply by examining its contents in a notepad document?

Is a 256-bit certificate longer than a 128-bit certificate or are there any other patterns that can be determined by examining the contents of a certificate within a notepad document?
0
David Johnson, CD, MVPOwnerCommented:
if you open a certificate in notepad
you will see
-----BEGIN CERTIFICATE-----
a bunch of apparently junk data
-----End Certificate-----
What is in-between is encoded bits

So there is no method of determining by loading the certificate into notepad
0
Prabhin MPEngineer-TechOPSCommented:
@itguy,

As David said , it not possible to see details of certificate using notepad as it's encoded. You have to use openssl or any other tools to extract the details.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Encryption

From novice to tech pro — start learning today.