Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

201
Vistas
How to store and update .p12 cert in iOS app?

I'm currently developing an iOS app connecting to a REST API. To secure the access of my API, I use on my server (NGINX) an authentication based on the ssl-client-authentication.

I use a .p12 certificate, and to process the authentication I use the swift code described on the accepted answer in this link (Getting client certificate to work for mutual authentication using Swift 3 and Alamofire 4).

Which mean that actually the certificate is store in my projet as resource in the Bundle. So I have several questions about security in iOS and I need advices.

• Is it ok to use a certificate as resource ?

If it is secure to store a certificate as resource.

• What is the best way to store the passphrase for my certificate used in swift code (Xcode Environment Variable, ...) ?

More, I would like to update the certificate when it will be expired by OTA. How this is possible ?

Thank you in advance.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda