Giter Club home page Giter Club logo

Comments (3)

josemmo avatar josemmo commented on September 24, 2024

Hola @PaolaRuby,

¿Podrías pasar un certificado de prueba (que no esté expedido de verdad por una CA) para poder reproducir el fallo?

He probado a parsear los metadatos del ejemplo PFnubeAFEmpresa.crt con "openssl_x509_parse" y PHP le da correctamente el nombre "organizationIdentifier" al campo "2.5.4.97".

from facturae-php.

PaolaRuby avatar PaolaRuby commented on September 24, 2024

No tengo un certificado de prueba, solo los privados de terceros, si te funciona correctamente el 2.5.4.97 en el issuer talvez necesito actualizar la librería porque openssl_x509_parse ademas me da UNDEF en otro campo del grupo 1, por el momento pase el problema con el if, intentaré llevar las librerias del openssl a la más actual para ver si se soluciona

Gracias por la pronta respuesta

from facturae-php.

PaolaRuby avatar PaolaRuby commented on September 24, 2024

UPDATE:
Tambien sale organizationIdentifier=, entonces actualice el if acorde los problemas q han surgido

if(in_array(strtoupper((string) $item),['', 'OID','UNDEF','ORGANIZATIONIDENTIFIER'])){ // Arreglo para firmas UANATACA

Espero le pueda ser util a alguien

SEVERE: El formato del nombre de Issuer de un certificado de SigningCertificate no se ajusta a X500: 
improperly specified input name: 
organizationIdentifier=VATES-A66721499,CN=UANATACA CA2 2016,OU=TSP-UANATACA,O=UANATACA S.A.,L=Barcelona,C=ES

from facturae-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.