Warning: openssl_x509_read(), openssl_x509_export(): and openssl_verify(): when running demo1

Comments

2 comments

  • Avatar
    Jorge Iriso

    Make sure the certificate has the correct format.

    0
    Comment actions Permalink
  • Avatar
    Dan Dajo

    Thanks for response, but I checked the format and it looks OK to me.

    -----BEGIN CERTIFICATE----- MIIEJjCCAw6gAwIBAgIULJiEzvJQNIjipSF/BSSJy+bafAAwDQYJKoZIhvcNAQEF BQAwXTELMAkGA1UEBhMCVVMxFTATBgNVBAoMDHNhc2lsZXZpLmNvbTEVMBMGA1UE CwwMT25lTG9naW4gSWRQMSAwHgYDVQQDDBdPbmVMb2dpbiBBY2NvdW50IDExNTgy ODAeFw0xNzEwMTIwNjI5MTBaFw0yMjEwMTMwNjI5MTBaMF0xCzAJBgNVBAYTAlVT MRUwEwYDVQQKDAxzYXNpbGV2aS5jb20xFTATBgNVBAsMDE9uZUxvZ2luIElkUDEg MB4GA1UEAwwXT25lTG9naW4gQWNjb3VudCAxMTU4MjgwggEiMA0GCSqGSIb3DQEB AQUAA4IBDwAwggEKAoIBAQCvXisaTycJPAMpB9fBz31VT+8uZr1QpYSssQGgzzmR 1PF4Q5LdtXcd2TMhyRO4Y4KOa0Ed5ceBYqiJGY2tgMl1yGlCaWD+0HQVgjRaS+/N xF+3SSwaldo0wjuWXpgniz7ALIu61O4BQmOL7h9xoyxNqf+gLnWPXMB0mtrrNTgt a8Wqi0QD5R1M1+zWgzjlplYmn8ZcFM8kkd+kzixxBycF3xy1kS1L92zc0LxS+6rs MegsD5xNaU1m0SvckyAqoSveGBbuasKSNW19qQw7tQw0rBpax0QgvXgeHoxsLkzj n6aFtyPMQTj+B9vH9+ZK4PGwswBOfWEZ8xMp/JmnKZGrAgMBAAGjgd0wgdowDAYD VR0TAQH/BAIwADAdBgNVHQ4EFgQUF06yD/mKYgLGCXP7yyqKHIDJhIswgZoGA1Ud IwSBkjCBj4AUF06yD/mKYgLGCXP7yyqKHIDJhIuhYaRfMF0xCzAJBgNVBAYTAlVT MRUwEwYDVQQKDAxzYXNpbGV2aS5jb20xFTATBgNVBAsMDE9uZUxvZ2luIElkUDEg MB4GA1UEAwwXT25lTG9naW4gQWNjb3VudCAxMTU4MjiCFCyYhM7yUDSI4qUhfwUk icvm2nwAMA4GA1UdDwEB/wQEAwIHgDANBgkqhkiG9w0BAQUFAAOCAQEAHEZkrkQX 6K8PiWfhhELO4O+v29HeBO/+BeZnoznXKK+slvbTW7lK7m2U7ReKgLTPDc4OQY4Z 5ZWZXgtV96TDfSk7J/qUPwTTs7I6DpSGOZ8vZurU61ic2Jvmbszfv8JRKzwNx+gX YAaNAG91GbF/66HPT65CQpgzCKVKQUvHb6RAAHSZOhll31O4TTTvNcSUMzmL1Z0T 7vVBdkGpaK8c1cAxpW5tWD2bT58ZBQL+bqV9bgWaPOAtGZ2t4hECCOxZeULpHw6X 9KlXcMtsM+so37fF00PI6lBO9BENo5VFjrUY7V343bNWJsXabtM8dp3+r0yubLin 8jF8xZPiCkEiLw==

    -----END CERTIFICATE----- -

    ----BEGIN CERTIFICATE-----

    EC:AF:13:B9:E9:F8:B8:D9:D8:83:4F:B5:0D:9C:BC:25:8B:E2:F8:CD

    -----END CERTIFICATE----- 

     

    Is it?

    Thanks

    0
    Comment actions Permalink

Please sign in to leave a comment.