• 12

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

I'm using a rest service to fetch data. Twice in the past several months, I received the following error: javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching example.com found.

I've read several posts that says it's something to do with LDAPS but LDAPS has nothing to do with the server/service I'm using. The problem seems to happen for several seconds and disappears on its own.

I don't have access to that server and the support told me that they did nothing nor changed anything from their side.

Not sure if it's related, I updated my lets encrypt certificate few days ago and the problem happened for several seconds a day and a half after I restarted my tomcat/java with the new certificate.

Any idea what to look for? Thanks

      • 1
    • Where/how can I do that? My guess is it won't be there. Do I need to add it every time I renew the certificate?
      • 2
    • openssl x509 -noout -text -in will show you the details of the cert. You need to request all the names your certificate will be valid for when you run certbot (or whatever you use). For certbot you use the -d option. You can use multiple -d options.
    • I ran the openssl command and saw this: X509v3 Subject Alternative Name: DNS:example.com, DNS:www.example.com (both are my domain). I guess that makes sense. The error I receive is when my tomcat is calling an API service outside of my server.

Trending Tags