Comments (3)
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.
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.
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)
- Problemas validación con certificados camefirma HOT 2
- Múltiples facturas en el mismo export HOT 4
- PaymentsOnAccount HOT 1
- Firma invalida HOT 3
- Entorno de pruebas HOT 2
- Comprobación documento extranjero HOT 6
- Buscador de Centros administrativos HOT 2
- Advertencia al instalar con composer HOT 1
- eFact - A bad canonicalization algorithm was specified HOT 10
- Ley aplicable 1007/2023 HOT 1
- verifactu HOT 1
- SOAP-ENV:ServerProcedure 'consultarFactura' not present HOT 5
- Añadir análisis estático (o tipos básicos con PHPDoc)
- Algunas propiedades usan inglés y otras español HOT 1
- Valores de certificado en hexadecimal HOT 3
- Error en la documentacion para cargar la libreria sin composer HOT 1
- VeriFactu HOT 5
- `serialNumber` es demasiado largo y viene como hexadecimal HOT 6
- Aplicar descuentos generales de manera secuencial HOT 2
- Factura simple HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facturae-php.