OneEntry Platform 2.0.1 Help

Starting with an mTLS certificate

Issue of certificates

In any case, you need to download the archive with certificates. You can do this by going to Settings/Application Certificates tab.

The following files will be inside:

  • .cert - Certificate, encrypted in base64

  • .csr - Certificate request

  • .key - Key, encrypted in base64

  • .p12 - The Certificate & Key bundle, encrypted in PKCS#12

Using the built-in certificate

  1. Move the .p12 file to the project

Generation of your .p12 certificate

  1. To do this, you will need a key(.key) and certificate(.cert) file, download them

  2. Generate .p12 with openSSL

    openssl pkcs12 -legacy -export -out certificate.p12 -inkey key.key -in cert.cert
  3. Move the .p12 file to the project

Using certificates for multiplatform application initialization

OneEntryApp.initialize( host = "sample.oneentry.cloud", path = "path/to/certificate.p12", password = "password" )

Using certificates for Swift application initialization

try OneEntryCore.shared.initialize( host: "sample.oneentry.cloud", certificate: "certificate", password: "password", bundle: .module )
Last modified: 01 August 2025