SSL wont work
Hello everybody,
Today my SSL certificate expired and I replaced it with a new one.
Since then i am not able to send emails via TLS - Mailserver EXIM.
The certificate is issued by Sectigo and is a wildcard.
The old certificate was from Combodo.
Now I thought to myself that the ROOT CA might not be available on a Fedora 25 and a CentOS 7 server.
I tested from this server as follows:
gnutls-cli -s -p 587 172.20.5.100
The result:
*** Starting TLS handshake
- Certificate type: X.509
- Got a certificate list of 1 certificates.
Certificate [0] info:
- subject
CN = *. example.com ', issuerC = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA', RSA key 2048 bits, signed using RSA-SHA256, activated2020-05-15 00:00:00 UTC ', expires2022-08-13 23:59:59 UTC', SHA-1 fingerprint `5361b099b238be2cc50aecffdb50494dc8c04809 '
Public Key ID:
f21f313a5991b447512b9468984398b6df62d2ca
Public key's random art:
+ - [RSA 2048] ---- +
| + .o .. ++. |
| + + .o =. . |
| . . o + o. |
| . o. |
| .oS. + |
| .o = +. o |
| . + = .. |
| E o. |
| . |
+ ----------------- +
- subject
Status: The certificate is NOT trusted. The name in the certificate does not match the expected.
*** PKI verification of server certificate failed ...
*** Fatal error: Error in the certificate.
*** Handshake has failed
Obviously the issuer disagrees.
I then imported the Sectigo ROOT CA onto both servers. The mistake remains the same.
What I also noticed there is that the ISSUER is also called differently in the ROOT CA.
In the certificate: CN = Sectigo RSA Domain Validation Secure Server CA
In the ROOT CA: CN = USERTrust RSA Certification Authority
I have no idea how to solve this problem anymore.
Maybe I'm on a completely wrong path.
Anyone have an idea?
greeting
Comments
-
Hi all,
as i wrote. Wrong path...
The problem was, the JAVA keystore was that old, that the newest CAs where not in.
What means, it was a java not exim problem.
I use a JAVA program to send mails. I missed that fact in my first post.I imported the CA's an all is running smooth as before :-)
regards
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 769 Linux Foundation IT Professional Programs
- 379 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 6 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 14 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 3 System Administration Training
- 1 System Engineering Training
- 2 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 125 Mobile Computing
- 20 Android
- 90 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 396 Off Topic
- 121 Introductions
- 31 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 703 Software Development
- 1K Software
- 406 Applications
- 182 Command Line
- 5 Compiling/Installing
- 70 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)