diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6b51f307..9da2f39f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+## [1.51.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.50.0...v1.51.0) (2024-05-21)
+
+
+### Features
+
+* **x509:** Datasource for PEM data normalization and common_name extraction ([5f29176](https://github.com/terraform-routeros/terraform-provider-routeros/commit/5f29176d8109379bea87eeb65e8b49cbbc0ceffb))
+* **x509:** Import certificates ([5a3bf8e](https://github.com/terraform-routeros/terraform-provider-routeros/commit/5a3bf8ed177e984a7b52322bd70a25431bfb42cd)), closes [#448](https://github.com/terraform-routeros/terraform-provider-routeros/issues/448)
+
## [1.50.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.49.0...v1.50.0) (2024-05-17)
diff --git a/docs/data-sources/x509.md b/docs/data-sources/x509.md
new file mode 100644
index 00000000..86b4480c
--- /dev/null
+++ b/docs/data-sources/x509.md
@@ -0,0 +1,33 @@
+# routeros_x509 (Data Source)
+
+
+
+
+
+## Schema
+
+### Required
+
+- `data` (String) X509 certificate in PEM format.
+
+### Read-Only
+
+- `akid` (String)
+- `authority` (Boolean)
+- `common_name` (String)
+- `digest_algorithm` (String)
+- `fingerprint` (String)
+- `id` (String) The ID of this resource.
+- `invalid_after` (String)
+- `invalid_before` (String)
+- `issuer` (String)
+- `key_type` (String)
+- `pem` (String)
+- `serial_number` (String)
+- `signature_algorithm` (String)
+- `skid` (String)
+- `subject` (String)
+- `subject_alt_name` (String)
+- `version` (Number)
+
+
diff --git a/docs/resources/system_certificate.md b/docs/resources/system_certificate.md
index 90b88acb..c7ae003c 100644
--- a/docs/resources/system_certificate.md
+++ b/docs/resources/system_certificate.md
@@ -69,6 +69,7 @@ resource "routeros_system_certificate" "scep_client" {
- `copy_from` (String)
- `country` (String) Country Name (2 letter code).
- `days_valid` (Number) Certificate lifetime.
+- `import` (Block Set) (see [below for nested schema](#nestedblock--import))
- `key_size` (String)
- `key_usage` (Set of String) Detailed key usage descriptions can be found in RFC 5280.
- `locality` (String) Locality Name (eg, city).
@@ -109,6 +110,19 @@ resource "routeros_system_certificate" "scep_client" {
- `smart_card_key` (String)
- `status` (String) Shows current status of scep client.
+
+### Nested Schema for `import`
+
+Required:
+
+- `cert_file_name` (String) Certificate file name that will be imported.
+
+Optional:
+
+- `key_file_name` (String) Key file name that will be imported.
+- `passphrase` (String, Sensitive) File passphrase if there is such.
+
+
### Nested Schema for `sign`
diff --git a/package.json b/package.json
index ee7ee553..6ceb4a77 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "terraform-provider-routeros",
- "version": "1.50.0",
+ "version": "1.51.0",
"repository": {
"type": "git",
"url": "https://github.com/terraform-routeros/terraform-provider-routeros"