What is a PEM Certificate File & How Do I Create a PEM File? (2024)

Rate this article: What is a PEM Certificate File & How Do I Create a PEM File? (1)What is a PEM Certificate File & How Do I Create a PEM File? (2)What is a PEM Certificate File & How Do I Create a PEM File? (3)What is a PEM Certificate File & How Do I Create a PEM File? (4)What is a PEM Certificate File & How Do I Create a PEM File? (5) (31 votes, average: 4.65)

What is a PEM Certificate File & How Do I Create a PEM File? (6)Loading...

Here’s the ultimate answers to your PEM certificate file questions

After years of push by the browser and security communities, ordinary website owners have finally realized the importance of an SSL/TLS certificate. As a result, most website owners get an SSL certificate as soon as they build their website. But many are new to this territory, and could get hung up on some of the complexities of the cybersecurity world. One of those complexities could be the PEM certificate file. Therefore, in this post, we’ll be discussing what a PEM certificate file is and how you can create one.

What is a PEM Certificate File & How Do I Create a PEM File? (7)

Single Domain SSL Certificates — Save Up to 85%!

Tip: You can typically save a significant amount by buying your SSL certificate direct instead of through your web hosting company. We sell all Comodo single domain SSL certificates at up to 85% off.

Shop for Single Domain SSL Certificates

A PEM Certificate File is…

Before we answer this question, let us tell you something. When you purchase a security certificate (typically, an SSL certificate), your certificate authority is supposed to send you the certificate – which is nothing but a bunch of files that includes a CA server certificate, intermediate certificate, and the private key. Usually, these files are encoded in a single file — “container,” as some call it – and sent through email. PEM (privacy enhanced mail) is one such container file type.

PEM is a container format for digital certificates and keys, most notably used by Apache and other web server platforms. In simpler words, it’s a file extension of a file that contains a bunch of certificate files. A PEM file is often used for X.509 certificates, and it’s a text file that consists of Base64 encoding of the certificate text, a plain-text header, and footer marking the beginning and end of the certificate. Here’s what it looks like:

# Private key

-----BEGIN PRIVATE KEY-----MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDBj08sp5++4anGcmQxJjAkBgNVBAoTHVByb2dyZXNzIFNvZnR3YXJlIENvcnBvcmF0aW9uMSAwHgYDVQQDDBcqLmF3cy10ZXN0LnByb2dyZXNzLmNvbTCCASIwDQYJKoZIhvcNAQEBBQAD...bml6YXRpb252YWxzaGEyZzIuY3JsMIGgBggrBgEFBQcBAQSBkzCBkDBNBggrBgEFBQcwAoZBaHR0cDovL3NlY3VyZS5nbG9iYWxzaWduLmNvbS9jYWNlcnQvZ3Nvcmdhz3P668YfhUbKdRF6S42Cg6zn-----END PRIVATE KEY-----

# Server CA certificate

-----BEGIN CERTIFICATE-----MIIFaDCCBFCgAwIBAgISESHkvZFwK9Qz0KsXD3x8p44aMA0GCSqGSIb3DQEBCwUAVQQDDBcqLmF3cy10ZXN0LnByb2dyZXNzLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMGPTyynn77hqcYnjWsMwOZDzdhVFY93s2OJntMbuKTHn39B...bml6YXRpb252YWxzaGEyZzIuY3JsMIGgBggrBgEFBQcBAQSBkzCBkDBNBggrBgEFBQcwAoZBaHR0cDovL3NlY3VyZS5nbG9iYWxzaWduLmNvbS9jYWNlcnQvZ3Nvcmdhbml6YXRpb252YWxzaGEyZzJyMS5jcnQwPwYIKwYBBQUHMAGGM2h0dHA6Ly9vY3NwlffygD5IymCSuuDim4qB/9bh7oi37heJ4ObpBIzroPUOthbG4gv/5blW3Dc=-----END CERTIFICATE-----

# Trust chain intermediate certificate

-----BEGIN CERTIFICATE-----MIIEaTCCA1GgAwIBAgILBAAAAAABRE7wQkcwDQYJKoZIhvcNAQELBQAwVzELMAkGC33JiJ1Pi/D4nGyMVTXbv/Kz6vvjVudKRtkTIso21ZvBqOOWQ5PyDLzm+ebomchjSHh/VzZpGhkdWtHUfcKc1H/hgBKueuqI6lfYygoKOhJJomIZeg0k9zfrtHOSewUj...dHBzOi8vd3d3Lmdsb2JhbHNpZ24uY29tL3JlcG9zaXRvcnkvMDMGA1UdHwQsMCowKKAmoCSGImh0dHA6Ly9jcmwuZ2xvYmFsc2lnbi5uZXQvcm9vdC5jcmwwPQYIKwYBK1pp74P1S8SqtCr4fKGxhZSM9AyHDPSsQPhZSZg=-----END CERTIFICATE-----

# Trust chain root certificate

-----BEGIN CERTIFICATE-----MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkGYWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxTaWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDaDuaZ...jc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavp38NflNUVyRRBnMRddWQVDf9VMOyGj/8N7yy5Y0b2qvzfvGn9Lhji*zJrglfCm7ymPHMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A==-----END CERTIFICATE-----

How to Create a PEM Certificate File

Like some people, some servers also can be demanding. If your server is one of them and is asking you for a PEM file, then there’s no option but to meet its demand. But no need to worry as creating a PEM certificate file is as smooth as pie. Follow the below steps to do so:

  1. First, download intermediate certificate, root certificate, primary certificate, and private key files sent by your certificate authority.
  2. Now, open a text editor (such as Notepad) and paste the entire body of all certificates and private key in the below order:
  • The Private Key
    • The Primary Certificate
    • The Intermediate Certificate
    • The Root Certificate
  • Add the starting and ending tags, as shown below:
-----BEGIN RSA PRIVATE KEY-----(Your Private Key)-----END RSA PRIVATE KEY----------BEGIN CERTIFICATE-----(Your Primary SSL certificate)-----END CERTIFICATE----------BEGIN CERTIFICATE-----(Your Intermediate certificate)-----END CERTIFICATE----------BEGIN CERTIFICATE-----(Your Root certificate)-----END CERTIFICATE-----

3. Finally, save the file as your_domain_name.pem.

Congratulations! You just created a PEM certificate file on your own. Smooth as a pie, wasn’t it?

Save Up to 75% On

Comodo SSL Certificates

Tip: You can typically save a significant amount by buying your SSL certificate direct instead of through your web hosting company. We sell all Comodo SSL certificates at up to 75% off.

What is a PEM Certificate File & How Do I Create a PEM File? (2024)
Top Articles
Duel on Revan's flagship
Ethereum Merge is The Golden Moment for ETH to Outperform Bitcoin
Crocodile Tears - Quest
<i>1883</i>'s Isabel May Opens Up About the <i>Yellowstone</i> Prequel
Beds From Rent-A-Center
Inside California's brutal underground market for puppies: Neglected dogs, deceived owners, big profits
Local Dog Boarding Kennels Near Me
Leeks — A Dirty Little Secret (Ingredient)
Hair Love Salon Bradley Beach
Theresa Alone Gofundme
Craigslist Red Wing Mn
Jayah And Kimora Phone Number
Forum Phun Extra
Libinick
Mychart Anmed Health Login
18889183540
Shopmonsterus Reviews
Ups Print Store Near Me
Www.paystubportal.com/7-11 Login
Wkow Weather Radar
Walgreens 8 Mile Dequindre
Sadie Sink Reveals She Struggles With Imposter Syndrome
F45 Training O'fallon Il Photos
Znamy dalsze plany Magdaleny Fręch. Nie będzie nawet chwili przerwy
Mawal Gameroom Download
Vlacs Maestro Login
Opsahl Kostel Funeral Home & Crematory Yankton
Leland Nc Craigslist
Makemkv Key April 2023
Western Gold Gateway
How Much Is Mink V3
Ljw Obits
Ishow Speed Dick Leak
Manatee County Recorder Of Deeds
Greater Keene Men's Softball
Baywatch 2017 123Movies
Ticketmaster Lion King Chicago
My.lifeway.come/Redeem
Aliciabibs
Culver's of Whitewater, WI - W Main St
Appraisalport Com Dashboard Orders
Man Stuff Idaho
Best Restaurants West Bend
Carteret County Busted Paper
Executive Lounge - Alle Informationen zu der Lounge | reisetopia Basics
Autum Catholic Store
2Nd Corinthians 5 Nlt
Sound Of Freedom Showtimes Near Amc Mountainside 10
Minterns German Shepherds
Invitation Quinceanera Espanol
Leslie's Pool Supply Redding California
Stone Eater Bike Park
Latest Posts
Article information

Author: Fr. Dewey Fisher

Last Updated:

Views: 5892

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Fr. Dewey Fisher

Birthday: 1993-03-26

Address: 917 Hyun Views, Rogahnmouth, KY 91013-8827

Phone: +5938540192553

Job: Administration Developer

Hobby: Embroidery, Horseback riding, Juggling, Urban exploration, Skiing, Cycling, Handball

Introduction: My name is Fr. Dewey Fisher, I am a powerful, open, faithful, combative, spotless, faithful, fair person who loves writing and wants to share my knowledge and understanding with you.