Reply
Explorer
Posts: 35
Registered: ‎11-26-2014

Hadoop TLS/SSL server Keystore File Location does not conform to the pattern

helo,

 

I wanted to see how can I create a pattern for the certificates that it will use on the cluster. while trying to make a pattern it said it does not conform to the pattern "(/[-+=_.a-zA-Z0-9]+)+(/)* 

 

a example of the files names are dude-7.50.12.vm.dude.com the only part that changes in every host are the numbers. How do I make a pattern like that?

Highlighted
Posts: 1,096
Topics: 1
Kudos: 278
Solutions: 132
Registered: ‎04-22-2014

Re: Hadoop TLS/SSL server Keystore File Location does not conform to the pattern

Hello,

 

The expected value of the "TLS/SSL server Keystore File Location" is a full path to a file.  It does not accept regex.

 

That said, can you elaborate on what you mean when you say "I wanted to see how can I create a pattern for the certificates that it will use on the cluster."?

 

What is your ultimate goal in creating a partern, where are you creating it, etc.?

 

If you want to configure one file location in Cloudera Manager, but your file names differ, I recommend trying soft links.

 

For example, if your keystore path is /opt/cloudera/security/jks/keystore.jks, make a soft link there that points to the files of different names.  Or, rename fine different jks files to the same file name on each host.

 

 

Explorer
Posts: 35
Registered: ‎11-26-2014

Re: Hadoop TLS/SSL server Keystore File Location does not conform to the pattern

I figured I would be able to do regex or patterns since that error I listed above is what It gave me when I misstype the name and figure from what it told me I could do it. I might just rename them all the same. thank you.

Explorer
Posts: 35
Registered: ‎11-26-2014

Re: Hadoop TLS/SSL server Keystore File Location does not conform to the pattern

Helo,

What if the certs have different password? I have a cert for every host and every host has a different password.