.CRT

Файл CRT

Security certificate (X.509 .crt)
Задать вопрос
БЫСТРЫЙ ОТВЕТ

A CRT file is an X.509 digital certificate that ties an identity (a website, server, or publisher) to a public key, signed by a Certificate Authority. On Windows, double-click it to view the issuer, validity dates, and purpose, then install it into the certificate store if needed. It holds only a public key - it is safe to view and share, and cannot execute code.

Разработчик: ITU-T / IETF (X.509 PKI standard); the .crt convention is common on Unix/Linux and web servers Категория: Файлы безопасности/сертификатов Открыть стандартное MIME: application/x-x509-ca-cert
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .PEM · .P7M · .CER · .REQ

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Aug 4, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла CRT?

Security certificates used by secure websites are saved on the server to enable encrypted connections in files with the .crt extension. Security certificates allow secure data transfer, login authentication, payments, and safe web browsing. .crt files conform to the PEM standard or use binary DER encoding - the extension alone does not tell you which format is in use.

.crt file structure

.crt files adhere to the X.509 certificate standard and may use one of two encodings. The more common PEM form uses Base64 ASCII text. Each PEM-encoded .crt file contains the following:

  • header: -----BEGIN CERTIFICATE-----
  • Base64-encoded DER certificate data
  • footer: -----END CERTIFICATE-----

Binary .crt files use raw DER encoding and begin with the ASN.1 SEQUENCE bytes 0x30 0x82. To tell them apart, open the file in a text editor - PEM is human-readable, DER is not.

.crt files for websites

.crt files are stored server-side. A website with a valid TLS/SSL certificate, issued by a trusted certificate authority such as DigiCert or Let's Encrypt, will be trusted by the browser, which indicates this with a padlock icon in the address bar. Users can inspect the certificate to view the holder's identity and expiration date. .crt files are interchangeable with .cer files - .crt is the common convention on Unix/Linux and Apache servers, while .cer is more common on Windows. A .crt holds only the public certificate; the matching private key is stored separately in a .key or .pfx file.

Безопасность и защита

РИСК: LOW

A .crt normally contains only a PUBLIC certificate - it's safe to view and share, and can't execute. The real caution is about TRUST, not malware: installing a certificate into your trust store tells your system to trust whoever it identifies, so only install a root/CA certificate from a source you trust (an unexpected 'install this certificate' request can be an attempt to intercept your encrypted traffic). Also don't confuse a .crt (public) with a .pfx/.p12 or a .key/.pem private key, which ARE secret and must never be shared or uploaded to online converters. Check a certificate's issuer and expiry before relying on it, and inspect/convert locally with OpenSSL rather than online certificate tools.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕSecurity certificate (X.509 .crt)также известен как Certificate file, SSL certificate
РАЗРАБОТЧИКITU-T / IETF (X.509 PKI standard); the .crt convention is common on Unix/Linux and web serversс X.509 first published 1988 (ITU-T); .crt is a long-standing certificate extension on Unix/Apache
MIME-ТИПapplication/x-x509-ca-cert
ТИПX.509 public-key certificate - binary DER or Base64 PEM encoding
СТАНДАРТОткрытый · без роялти
СВЯЗАННЫЕ.pem.p7m.cer.req
MAGIC BYTES · СИГНАТУРА ФАЙЛА
СМЕЩЕНИЕ
0001
HEX
3082
ASCII
0·
A .crt holds an X.509 certificate in one of two encodings, and the extension does NOT tell you which: DER (binary) begins with the ASN.1 SEQUENCE tag 0x30 0x82; PEM (text) begins with the ASCII line '-----BEGIN CERTIFICATE-----' followed by Base64. Open it as text to tell them apart - PEM is readable, DER is binary. The same certificate may carry .crt, .cer, .der or .pem extensions.

Программы, открывающие файлы CRT

Windows3 apps
OpenSSL Открытый код Inspect: 'openssl x509 -in cert.crt -text -noout' (add -inform der for a binary .crt). Convert DER<->PEM and bundle into .pfx. The universal certificate tool.
Windows Crypto Shell / certmgr (built-in) Встроенная Double-click the .crt to open the certificate viewer (issuer, validity, purpose). Click 'Install Certificate' to add it to the store, or manage via certmgr.msc.
Notepad / any text editor Открытый код Open the .crt as text: if you see '-----BEGIN CERTIFICATE-----' it's PEM (readable Base64); if it's binary gibberish it's DER. Helps decide how to convert it.
macOS2 apps
Keychain Access (built-in) Встроенная Double-click the .crt to view it and import/trust it in the keychain. macOS shows issuer, validity and trust settings.
OpenSSL / LibreSSL Открытый код In Terminal: 'openssl x509 -in cert.crt -text -noout' to inspect, or convert formats. Pre-installed on macOS (LibreSSL).
Linux2 apps
OpenSSL Открытый код Inspect: 'openssl x509 -in cert.crt -text -noout' (add -inform der for a binary .crt). Convert DER<->PEM and bundle into .pfx. The universal certificate tool.
GNOME/KDE certificate viewers Встроенная Double-click a .crt in the file manager to open the desktop certificate viewer, or import it into the system trust store (update-ca-certificates).

Технические подробности

глубокая спецификация
EncodingBinary (DER) or Base64 text (PEM) - the .crt extension does not indicate which; open in a text editor to distinguish
MIME typeapplication/x-x509-ca-cert (primary); also application/pkix-cert and application/x-x509-user-cert
Container structureASN.1 DER SEQUENCE encoding subject, issuer, public key, validity period, v3 extensions (SANs, key usage) and the CA's digital signature
PEM markerText line -----BEGIN CERTIFICATE----- at file start (ASCII/UTF-8)
DER magic bytes0x30 0x82 at offset 0 - ASN.1 SEQUENCE tag followed by a 2-byte length
Certificate versionX.509 v1, v2 or v3; v3 is universal in modern use and required for Subject Alternative Names and key usage extensions
Certificate contentPublic certificate only - subject name, issuer, public key, validity dates and CA signature; private key is never stored here
Signature algorithmTypically sha256WithRSAEncryption or ecdsa-with-SHA256; older files may carry sha1WithRSAEncryption (deprecated and rejected by modern browsers)
Integrity mechanismCA digital signature over TBSCertificate; any byte change invalidates the signature and causes TLS handshake failure
Typical file size1 KB - 4 KB for a single certificate; several KB larger when a full certificate chain is concatenated
CompressionNone - certificate data is stored uncompressed
EncryptionNone - the certificate is intentionally public; private keys require .key, .pfx or .p12 files
Platform supportWindows, macOS, Linux, Android, iOS and any TLS-capable system or runtime
Common usesHTTPS/TLS server authentication, code signing, email encryption (S/MIME), client certificate authentication
Interchangeable extensions.crt (Unix/Linux/Apache convention) and .cer (Windows convention) name the same X.509 format; .pem and .der name the encoding explicitly
ВыпущенX.509 first published 1988 (ITU-T); .crt is a long-standing certificate extension on Unix/Apache
Последняя версияX.509 v3 (RFC 5280, 2008); PEM text encoding codified in RFC 7468 (2015)
Открыть стандартноеДа · без роялти
Спецификацияdatatracker.ietf.org

Конвертации CRT

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами CRT. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах CRT.

Часто задаваемые вопросы

What is a .crt file?
A digital security certificate in the X.509 standard. It binds an identity (a website, server, person or software publisher) to a public key and is signed by a Certificate Authority, so software can verify it's genuine. It's the kind of certificate behind the HTTPS padlock.
How do I open a .crt file on Windows?
Double-click it to open the Windows certificate viewer, which shows the issuer, validity dates and intended use. From there you can choose 'Install Certificate' to add it to the certificate store.
What's the difference between .crt and .cer?
Practically nothing - both label an X.509 certificate. .crt is the more common Unix/Apache convention, .cer the more common Windows one. The real difference is the encoding inside (DER binary vs PEM Base64 text), which the extension doesn't fix.
How do I convert a .crt to .pem?
If it's binary DER: 'openssl x509 -inform der -in cert.crt -out cert.pem -outform pem'. If it's already Base64 text (starts with -----BEGIN CERTIFICATE-----), it's effectively PEM already - just rename it.
Is a .crt file safe to open or share?
Yes - viewing is safe, and a .crt normally holds only the public certificate, which is meant to be shared. Be careful only about installing/trusting a certificate from an untrusted source, and never confuse it with a private-key file (.pfx/.p12/.key), which is secret.
How do I install a .crt on an Apache/Nginx web server?
Reference the certificate (and chain) plus the private key in the server config - Apache: SSLCertificateFile/SSLCertificateKeyFile; Nginx: ssl_certificate/ssl_certificate_key. The .crt must be PEM-encoded for both; convert from DER with OpenSSL if needed.

Ссылки

1RFC 5280 - X.509 Public Key Infrastructure Certificatedatatracker.ietf.org
2RFC 7468 - Textual Encodings of PKIX/PKCS/CMS (PEM)www.rfc-editor.org

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.BINCD/DVD Disc Image (BIN/CUE)
6.EXEWindows Executable (Portable Executable)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.MDMarkdown Document
10.TXTPlain Text File

Похожие расширения

.PEMPEM - Base64-encoded certificate / key container (X.509, PKCS)
.P7MPKCS#7 / S/MIME Message (digitally signed or encrypted)
.CERSecurity certificate (X.509 .cer)
.REQCertificate Signing Request (CSR) - .req
.CSRCertificate Signing Request (PKCS#10)

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z