In ssl (non java) certificates you will get private key with separate certificate. I originally thought with the genkey command you used we get private key and we need to run certreq to get the certificate. also if we try to curl the url in Linux you get error. I am not sure if adding the certificate to truststore will resolve that issue.
I'm a beginner, so sorry if I come off as naive: but do I do this (create a new Keystore) for every app? or is there a different command to add a new app Key to this existing Keystore? or am I completely misunderstanding what a Keystore is and what it's used for? Lol
Thank you sir! I think I had hours of UA-cam videos but can't find a solution for generating SHA1 fingerprint. I am so thankful to you for helping me with this problem. But, the problem I faced was my CMD, I think we need to run CMD as an administrator!
I was getting really confused about encrypting things with CA's private key, and the browser decryting it with public key. Then I read that keys are interchangeble, if one encrypts, the other can decrypt, regardless of which one is the private/public. Is this correct? Given a key pair A B. A message encripted with A can only be decryped with B. I believe that is true, but: If a message is able to be decryted with B, does it necessarily mean it was encryped with A. I hope so, otherwise when the CA sing the certificates won't be prove of anything...
Hi Hiresh, I used this cert on tomcat for testing. You can use a self signed cert for testing really. normally you would purchase a signed certificate for production.
You're welcome and glad it was helpful Feel free to checkout my patreon here to help me keep making these videos :) www.patreon.com/join/darrenstechtutorials
Hi there,
Please support me on patreon if you found this video helpful! www.patreon.com/darrenstechtutorials
Wont work for me
People like you are what makes the internet awesome, thank you
No worries at all, glad it helped
Greate video. It solved my problem.
thanks - glad it was helpful
That is impressive. I learned about SSL recently so to learn the keystore bit will help complete me
Thanks glad it helped!
Hi there ...I rarely comment but this tutorial really helped me out. Thanks man!
No worries at all Peter glad it was helpful.
can you please tell us how import that key in connection java to mysql remotely ?
Hi,
I am getting filenotfound exception c:local.keystore access is denied erroe
Can I do it with Open JDK Instead Java SE? (It seems that needs a license...)
In ssl (non java) certificates you will get private key with separate certificate. I originally thought with the genkey command you used we get private key and we need to run certreq to get the certificate.
also if we try to curl the url in Linux you get error. I am not sure if adding the certificate to truststore will resolve that issue.
java.io.FileNotFoundException: c:\local.keystore (Access is denied)
I had the same issue ....discovered I was not running command prompt in Administrator mode...changed it..and it worked
Checking...
Where the link goes is not the same on the site and the tutorial, so I did both...
Japp it worked, but I can't install the apk on android.
Is this just a keypair stored in a jks keystore or a propert self-signed certificate?
Is it possible to automate this and pass it values to enter?
Hi its not something I've done before but it should be possible
hey how can I set validity on that certificate and how to configure it with my .jar file
I'm a beginner, so sorry if I come off as naive:
but do I do this (create a new Keystore) for every app?
or is there a different command to add a new app Key to this existing Keystore?
or am I completely misunderstanding what a Keystore is and what it's used for? Lol
Is this a private-public key pair generated? I see privatekey generated...Is it possible to generate a keypair using keytool?
thank u so much it worked like a charm
Thank you sir! I think I had hours of UA-cam videos but can't find a solution for generating SHA1 fingerprint. I am so thankful to you for helping me with this problem. But, the problem I faced was my CMD, I think we need to run CMD as an administrator!
Glad it was helpful!
My command prompt says that keytool isn't recognized as an internal or external command
Hey, you need to add the keytool to your path, let me know if you have any issues doing so :)
Thanks a lot sit...That helps me a lot
You're welcome
Comprehensive tut.
Thanks a lot dude!!
glad it helped!
Hello Darren, I love ur video. can you also do this for windows 7. the process is quite different
Hey, thanks for the positive feedback, sure will look into doing one for Windows 7 - don't forget the subscribe if the videos are useful :)
I was getting really confused about encrypting things with CA's private key, and the browser decryting it with public key.
Then I read that keys are interchangeble, if one encrypts, the other can decrypt, regardless of which one is the private/public. Is this correct?
Given a key pair A B.
A message encripted with A can only be decryped with B. I believe that is true, but:
If a message is able to be decryted with B, does it necessarily mean it was encryped with A.
I hope so, otherwise when the CA sing the certificates won't be prove of anything...
This step :c:\>keytool -v -list -keystore local.keystore
I am failed
It has my local.keystore in my c drive.
Thank´s so much man, saved me
Glad it was helpful
Do this require cmd to be open in admin mode as i am getting an error, "keystore location not found "
yes
save yourself 2 mins 25 secs by fast fwding to that time index...
thank you too much for helping us for free , can you please tell us how import that key in connection java to mysql ?
Thanks very much for your efforts,
Please how fix below error ?
Invalidated: [Session-3, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256]
Hi there,
If you like this video feel free to subscribe to my channel my clicking here:
goo.gl/ajiwW2
Hi Darren can we use this certificate for Java based Application?
if yes how?
Hi Hiresh, I used this cert on tomcat for testing. You can use a self signed cert for testing really. normally you would purchase a signed certificate for production.
OMG you saved me !!
Glad it helped!
can you please tell us how import that key in connection java to mysql remotely ?
thank you!
You're welcome and glad it was helpful
Feel free to checkout my patreon here to help me keep making these videos :)
www.patreon.com/join/darrenstechtutorials
I created it so what now? how to I use it?
You can use it so secure things like Tomcat: ua-cam.com/video/ke1SgU_HY80/v-deo.html
Thanx. Great!
thanks a lot
No worries, glad it was useful
thankss!!!!!!!!!!
You're very welcome
thank you
thanks!!
Glad it was helpful
Hey hi,
can you share your mail id,
Need a bit help for installation and configuration in windows 10
mines says keytool error: java.iofilenotfoundexception C:\local keystore
Hey, it's saying file not found, is the keystore in that location? Can you copy the path to you Keystore and paste it here, so i can see?
Hey just aswell, did you put the path in quotes when you were entering it?
oh I see it! Thanks a bunch! so can I know use this to sign my apk?
@@theonlyrareone7330 I mostly use it for securing tomcat, Jboss etc but yeah it should work for that.
@@DarrensTechTutorials Darren do you know how I would make the keystore valid for 25 years? as it currently is only a couple months
Amazing
What is password ?