> Source: [sk133074](https://support.checkpoint.com/results/sk/sk133074)

# sk133074 - Import of .p12 certificate for remote access fails

| Property | Value |
|----------|-------|
| Solution ID | sk133074 |
| Date Created | 2018-08-09 |
| Last Modified | 2022-11-10 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |
| OS | Gaia |

## Symptoms

- * Importing a .p12 certificate in **Mobile Access** \> **Portal Settings** fails with the following error:   
  `Can not upload file.`
* FWM process notifications: `
  [FWM 4604 4036692416]@MGMT[1 Jan 14:44:38] CVoipImportPkcs12Cert::GetCertificateFields: Failed to get curr cert key
  [FWM 4604 4036692416]@MGMT[1 Jan 14:44:38] CVoipImportPkcs12Cert::CreateCertificateSet: Failed to get certificate fields
  [FWM 4604 4036692416]@MGMT[1 Jan 14:44:38] CVoipImportPkcs12Cert::SendResponse: Sending response with result code: -1 and error msg: Failed to create certificate
  [FWM 4604 4036692416]@MGMT[1 Jan 14:44:38] CVoipImportPkcs12Cert::SendResponse: body = :(
  :reason (0)
  :subject (operation-done)
  :error_code (-1)
  :error_msg ("Failed to create certificate")
  :operation-ok (false)
  )
  `

## Cause

The certificate was created/imported without a private key:

*openssl pkcs12 -export -nokey -out vpn-hci-\[company name\].p12 -in server_cert.VPN-HCI.pem*

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
