Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

SSL Cert Import Issue - Not an X.509 Cert Error

EcoStruxure IT forum

Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure IT
  • EcoStruxure IT forum
  • SSL Cert Import Issue - Not an X.509 Cert Error
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Cory_McDonald
Admiral Cory_McDonald Admiral
124
Jef
Admiral Jef Admiral
109
gsterling
Captain gsterling Captain
71
APC_Steve
Captain APC_Steve Captain
62
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure IT forum
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 11:13 PM . Last Modified: ‎2024-04-05 05:00 AM

0 Likes
6
2632
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 11:13 PM . Last Modified: ‎2024-04-05 05:00 AM

SSL Cert Import Issue - Not an X.509 Cert Error

I am having trouble working with ssl certificates in the DCIM Portal.  I am receiving the following error when trying to import the cert.  keytool error:java.lang.Exception:  Input not an X.509 certificate.

(CID:124526883)

Labels
  • Labels:
  • Portal
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 6
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 11:13 PM . Last Modified: ‎2024-04-05 05:00 AM

0 Likes
0
2634
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 11:13 PM . Last Modified: ‎2024-04-05 05:00 AM

Hi Krista Flynn,

Please share the command line and its output, that you are trying to import the Web Server SSL cert onto your SxW Portal. This will help to solve your problem faster.

With respect.

(CID:124526900)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2024-04-05 05:00 AM

0 Likes
0
2635
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2024-04-05 05:00 AM

I generated the key request and send it to our CA with the following command. 

keytool -genkey -alias -keyalg RSA –keysize 2048 -keypass P@ssw0rd! -keystore .bin -storepass

keytool -certreq -keyalg RSA -alias -file certreq.csr -keystore .bin

I edited the /conf/server.xml file with the appropriate changes in the documentation.

Once I got the certs back from CA I tried to import with the following.  The second command below said it was successful.  The first command below I am getting the error above that I put in my question. 

  1. keytool -import -alias root -keystore mykeystore  -trustcacerts -file  chain_certificate_filename
  2. keytool -import -alias tomcat -keystore mykeystore -file certificate_filename


(CID:125208452)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2024-04-05 05:00 AM

0 Likes
0
2635
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2024-04-05 05:00 AM

Once I got the certs back from CA I tried to import with the following. The second command below said it was successful. The first command below I am getting the error above that I put in my question.

1. keytool -import -alias root -keystore mykeystore -trustcacerts -file chain_certificate_filename
2. keytool -import -alias tomcat -keystore mykeystore -file certificate_filename

I.e., you can not perform the import the root CA cert? While the import the new SxW Portal Web Server SSL cert did you succeed? I understand you correctly?

If so, it's very possible that you are trying to import a file that is not a certificate. You can, for example, look at the properties of the chain_certificate_filename file on Windows to make sure that it is indeed a certificate file?

With respect.

(CID:125208454)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2024-04-05 05:00 AM

0 Likes
0
2635
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2024-04-05 05:00 AM

Hi Krista Flynn,

In addition to the previous answer: to verify the validity of certificates, add to your files chain_certificate_filename and certificate_filename an extension, for example .cer: chain_certificate_filename.cer and certificate_filename.cer. Then, in the MS Windows environment, open the location of these two files by the explorer, you should see something similar with the indication that this is really a certificate:

Then just open (left-click on the file) first one file, and then another. If the file is indeed a digital certificate, you will see something similar with detailed information about the issuer of the certificate:


Otherwise, if the file is not a certificate file, you will get an opening error. This is an elementary test.

Always glad to answer your questions.

(CID:125208448)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2024-04-05 05:00 AM

0 Likes
0
2635
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2024-04-05 05:00 AM

Hi Krista Flynn,

Have you solved this problem or not?

With respect.

(CID:125208260)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2023-10-22 03:50 AM

0 Likes
0
2635
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 11:14 PM . Last Modified: ‎2023-10-22 03:50 AM

superhero.png

This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.

Reply

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of