LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-16-2018, 04:14 AM   #1
Epic555
LQ Newbie
 
Registered: Sep 2017
Posts: 10

Rep: Reputation: Disabled
Error with a self-signed certificate on Red Hat Virtualization


Hi, i issued a new self-signed certificate for Red Hat Virtualization Manager 4.1 on RHEL 7.4. Certificate was issued on the server where RHVM works. I used official RH guide to create and replace certificate.
When i open RHVM web page i receive error:
- sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
What is the problem?
Commands i used to create a key and certificate:
- openssl genpkey -algorithm RSA -out apache.key -pkeyopt rsa_keygen_bits:2048
- openssl req -new -x509 -key apache.key -out apache.cer -days 365
 
Old 01-16-2018, 04:40 AM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Have you tried asking Red Hat? You must have paid for their support to obtain a valid certificate I would think.

Play Bonny!

 
Old 01-16-2018, 07:54 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
A similar discussion on StackOverflow is here. Obviously, RH is using a Java-based framework. (Ick ...)

But, yes, your company is paying for support from Red Hat, so they should be the first resource that you turn to.
 
Old 01-16-2018, 10:03 PM   #4
Epic555
LQ Newbie
 
Registered: Sep 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
I made a request in support, but they didn't reply yet.
 
Old 01-16-2018, 11:30 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Looks like a Java-sourced error (sun.security.validator.ValidatorException)
The problem is that Java doesn't speak openssl.
I believe you'll need keytool.

Last edited by Habitual; 01-18-2018 at 11:58 AM.
 
Old 01-17-2018, 02:56 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Quote:
Originally Posted by Epic555 View Post
I made a request in support, but they didn't reply yet.
Pick up the phone! Your employer is paying for this!

(BTW: this has never been my experience when dealing with Red Hat support. Those guys (and gals) are good.)
 
Old 01-29-2018, 09:22 PM   #7
Epic555
LQ Newbie
 
Registered: Sep 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
RH support gave article (https://access.redhat.com/solutions/3329431) to regenerate a certificate
 
Old 01-30-2018, 05:35 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
http://magicmonster.com/kb/prg/java/...ng_failed.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SCEP enroll for signed CA certificate, BIO_free() crashes with heap corruption error gprathap1121@gmail.com Linux - Security 0 07-30-2014 06:45 PM
LXer: Red Hat looks to the OpenStack cloud with Red Hat Enterprise Virtualization 3.4 LXer Syndicated Linux News 0 06-16-2014 02:10 PM
Verify return code: 19 (self signed certificate in certificate chain) tikit Linux - Server 1 04-10-2012 05:21 PM
how to create signed (not self signed) certificate for Apache ? dlugasx Linux - Server 4 12-16-2011 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration