preload preload preload preload

Importer un certificat auto-signé dans votre JRE/JDK

Le vendredi 04 mars 2011 par madpellzo JDK/JRE 24 commentaires

Comment imorter un certifiact x509 auto-signé dans le fichier cacerts d'un JRE/JDK Sun ?

Prérequis : un JDK ou JRE installé sur le serveur.

Le fichier cacerts contient une liste d'autorités de certification (Thawte, VeriSign ...).

1) Visualiser les autorités déjà présentes dans cacerts

# /usr/local/java/bin/keytool -list -keystore cacerts
Enter keystore password: changeit

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 44 entries

Comme vous pouvez le constater le mot de passe par défaut du cacerts Sun est : changeit.

2) Importer votre certificat auto-signé

Il se trouve (en général) sous /etc/ssl/certs/moncertif.pem.

Commencer par sauvegarder le cacerts original:

# cd /usr/local/java/jre/lib/security/
# cp cacerts cacerts.original

Importation :

# /usr/local/java/bin/keytool -import -alias realmed -keystore cacerts -file /etc/ssl/certs/moncertif.pem
Enter keystore password: changeit

Vérifier qu'une nouvelle autorité se trouve dans cacerts:

# /usr/local/java/bin/keytool -list -keystore cacerts
Enter keystore password: changeit

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 45 entries

Mots clés : jdk, jre, cacerts, x509

  • Commentaires

  • Avatar Gravatar
     #1 Le 23 avril 2016

    You've made some really good points there. I looked on the net to leartn more about the issue and foundd most individuals will go along with your views on this web site.

  • Avatar Gravatar
     vtc nice aeroport
     #2 Le 29 novembre 2016

    Hello i amm kavin, its my first occasion to commenting anywhere, when i
    read this paragraph i thought i could also make comment due to this sensible post.

  • Avatar Gravatar
     #3 Le 09 décembre 2017

    Every weekend i used to pay a visit this web page,
    because i wish for enjoyment, as this this site conations actually nice funny stuff

  • Avatar Gravatar
     #4 Le 03 janvier 2018

    It's really a great and useful piece of info. I'm satisfied that you just shared this useful information with
    us. Please keep us informed like this. Thank you for sharing.

  • Avatar Gravatar
     #5 Le 07 janvier 2018

    Do you have a spam issue on this blog; I also
    am a blogger, and I was wanting to know your situation; many of us have created some nice procedures and we are looking to exchange methods with
    others, please shoot me an e-mail if interested.

  • Avatar Gravatar
     Tarif Sewa Bus Pariwisata Murah
     #6 Le 03 mars 2018

    It's the best time to make some plans for the long run and it is time to be happy.

    I've read this publish and if I may I wish to counsel you ome attention-grabbing issues
    or tips. Perhaps you couyld write subsequent articles relating to this
    article. I want too read even more things approximately it!

  • Avatar Gravatar
     #7 Le 23 mars 2018

    My spouse and I absolutely love your blog and find nearly all of your post's to be precisely what I'm looking for.

    Would you offer guest writers to write content for you?
    I wouldn't mind creating a post or elaborating on a lot of the subjects you write regarding here.

    Again, awesome blog!

  • Avatar Gravatar
     livescore 24 live En direct
     #8 Le 02 avril 2018

    І drop a comment whenever I appreciate a post on a site or I have something to add to the conversation. It is trigցered
    by the fire diѕplayed in tһe article I looked at.
    And after thіs article Importer un ⅽertificat auto-signé dans votre JRE/JDK- Mаdpellzo.
    I was actually eхcited enough to post a thoᥙght ;) I do have some qustions
    for you if it's allright. Could it be juѕt me or does it appeɑr like a fеw ⲟf these comments come across
    like coming from brain deaɗ viѕitors? :
    -P And, if you are writing at additional places, I'd like to follow everytһing nnew
    yоu hhave to post. Could you make a list the complete urlѕ of all ʏour shared pagеs
    like үour Ϝacebook page, twitter feed, or linkedin profile?

  • Avatar Gravatar
     #9 Le 02 avril 2018

    Hello There. I discovered your weblog the use of msn. Thiss iss an extremely neaqtly
    written article. I will make sure to bookmark it and returnn to read extra of
    your useful info. Thanks for the post. I'll dedinitely

  • Avatar Gravatar
     #10 Le 07 avril 2018

    I'm amazed, I must say. Seldom do I come across a blog
    that's equally educative and engaging, and let me tell you, you have hit the nail on the head.
    The issue is an issue that not enough people are speaking intelligently about.
    Now i'm very happy I stumbled across this during my hunt for something regarding this.

  • Avatar Gravatar
     Daftar Judi Poker Online
     #11 Le 10 avril 2018

    Hi, i think that i saw you visited my web site so i came to
    “return the favor”.I'm attemptinng to
    find things to enhance my site!I suppose its ok to use a few of your ideas!!

  • Avatar Gravatar
     Livescore Terbaru
     #12 Le 01 mai 2018

    Ӏ wass гecommended this web site Ьy my cousin. I'm not sure whether thіѕ post is written by him as nobody else
    know such detailed abоut my trouble. You are amazing!

  • Avatar Gravatar
     Livescore terbaru
     #13 Le 02 mai 2018

    Hi! Quick ԛuestion that's totally off topic. Do you know
    how to maake your site mobile friendly? My blog loοks ԝeird when viewing
    from mу iphone4. I'm tryig to find a template ᧐r plugin that might be aƄle
    to fix this problem. If you have any recommendations, please
    shагe. With thanks!

  • Avatar Gravatar
     spbo Live score
     #14 Le 03 mai 2018

    heⅼlo there and thank you for your information – I have dеfinitely pickeԀ up sometһing new from
    right here. I did however expertise a feᴡ technical ⲣoints using this site, aѕ I experienced to reload the wеb ѕite many
    times pгеvious to І could get it to lⲟad proрerlү.

    I had been wondering if yoᥙr web host is OK? Not thаt I am compⅼaining, but slugɡih loading instаnces times will somеtimes affect your placement in google and could damage your high-quality score if advertising and markеting with Adwords.

    Anyway I am aԀding thiѕ RSS tⲟ my emaiⅼ and could look out for a lot more of your respeсtive interesting
    content. Make sre you update this again soon.

  • Avatar Gravatar
     #15 Le 20 mai 2018

    I could not refrain from commenting. Perfectly written!

  • Avatar Gravatar
     #16 Le 25 mai 2018

    When someone writes ɑn aгticle he/she maintɑins the
    plan of a uszer in his/her mind that hⲟw a user cann be
    aᴡare of it. Therefore that's why thiѕ paragraph is ρerfеct.


  • Avatar Gravatar
     #17 Le 27 mai 2018

    Hi are using Wordpress for your blog platform? I'm new to the blog
    world but I'm trying to get started and set up my own. Do you require any coding knowledge to make
    your own blog? Any help would be really appreciated!

  • Avatar Gravatar
     #18 Le 07 juin 2018

    Definitely believe that which you stated. Your favorite justification appeared to be on the web the easiest thing to
    be aware of. I say to you, I definitely get irked while people think about worries that
    they plainly don't know about. You managed to hit the nail
    upon the top and also defined out the whole thing without
    having side effect , people can take a signal. Will probably be back to get more.

  • Avatar Gravatar
     Prediksi Togel Hari Ini
     #19 Le 08 juin 2018

    Hi there, I found your website via Google even as looking for a
    comparable matter, your web site got here up, it appears to be like
    great. I have bookmarked it in my google bookmarks.
    Hi there, simply became aware of your weblog through Google, and located that
    it's truly informative. I am going to watch out for brussels.
    I will be grateful if you happen to continue this in future.
    Many other folks can be benefited from your writing.

  • Avatar Gravatar
     Turbanli Ifsa
     #20 Le 10 juin 2018

    Greetings from Ohio! I'm bored to tears at work so I decided to browse your site
    on my iphone during lunch break. I enjoy the info you present here and can't wait to
    take a look when I get home. I'm shocked at how quick your blog loaded on my phone ..
    I'm not even using WIFI, just 3G .. Anyways, excellent blog!

  • Avatar Gravatar
     sikis izle
     #21 Le 11 juin 2018

    Sektoru bırakmazsanız olacaklara katlanmak zorunda kalırsınız.

  • Avatar Gravatar
     #22 Le 21 juin 2018

    Amazing! This blog looks just like my old one! It's on a entirely different subject but it has pretty much the same layout and
    design. Outstanding choice of colors!

  • Avatar Gravatar
     bandarq Online
     #23 Le 27 juin 2018

    This is my first time pay a quick visit at here and i am in fact impressed to read everthing at
    one place.

  • Avatar Gravatar
     #24 Le 09 juillet 2018

    My partner and I stumbled over here coming from a different website
    and thought I might as well check things out.
    I like what I see so now i'm following you. Look forward to exploring your web page
    yet again.

  • Ecrire un commentaire

    Quelle est la quatrième lettre du mot ctazzw ?