...keyalg RSA Enter keystorepassword: keytool error: java.io.IOException: Keystorewastamperedwith, orpasswordwasincorrect.
{"1_mb2m0":{"state":{"i18nTexts":{"durationAriaLabel":"Süre","freshAriaLabel":"Yayınlandı","publishedDateAriaLabel":"Yayınlandı"},"clips":[{"thumb":{"image":"//avatars.mds.yandex.net/get-vthumb/927845/9971884041d5fe5f0f552894218522a1/176x100","preview":{"url":"https://video-preview.s3.yandex.net/8C_mpgAAAAA.mp4","type":"video/mp4"},"isVertical":false},"greenUrlProps":[{"items":[{"text":"YouTube"}],"link":{"url":"http://www.youtube.com/watch?v=YylUbdC7zX0"}},{"items":[{"text":"CyberNaga"}],"link":{"fullText":"CyberNaga","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDdW5hREQ1UmViSnhkeE5FcjVDaHJ6dw%3D%3D&how=tm&text=CyberNaga&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast","logNode":{"name":"channel","attrs":{"attrs":{"clip_channel_data":{"name":"CyberNaga","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDdW5hREQ1UmViSnhkeE5FcjVDaHJ6dw%3D%3D&how=tm&text=CyberNaga","orig_url":"http://www.youtube.com/@CyberNagaIn","id":"d3d3LnlvdXR1YmUuY29tO1VDdW5hREQ1UmViSnhkeE5FcjVDaHJ6dw=="}}}}}}],"title":"Solution keytool error in \u0007[java\u0007] \u0007[Keystore\u0007] \u0007[was\u0007] \u0007[tampered\u0007] \u0007[with\u0007] \u0007[or\u0007] \u0007[password\u0007] \u0007[was\u0007] \u0007[incorrect\u0007]","views":"53,2K","url":"/video/preview/4544551274472830201?text=java.io.ioexception%3A%20keystore%20was%20tampered%20with%2C%20or%20password%20was%20incorrect&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast&noreask=1","duration":"1:55","durationA11yText":"Süre 00:01:55","dateLabelText":"","isFreshDate":false,"counterAttrs":{"duration":115,"title":"Solution keytool error in java Keystore was tampered with or password was incorrect","is_highres":false,"url":["http://www.youtube.com/watch?v=YylUbdC7zX0","http://rutube.ru/video/36c708ae9ce4b27262f7e0e6d67e8c4b/"],"creation_time":["2013-10-09T00:00:00.000Z","2023-12-01T21:07:03.000Z"],"views":[53197,0],"player":["YouTube","Rutube"],"ids":["4544551274472830201","637811148912949901"]},"isFreshnessColored":true,"isSnippetTitleColorBlack":false,"greenUrlPosition":"BEFORE_INLINE","publishedDateText":" 9 Eki 2013","isGreenUrlChannelVerified":false},{"thumb":{"image":"//avatars.mds.yandex.net/get-vthumb/404434/f7493303d0c1df19a34956faaa20b4aa/176x100","isVertical":false},"greenUrlProps":[{"items":[{"text":"YouTube"}],"link":{"url":"http://www.youtube.com/watch?v=a9fGhmZ8LIs"}},{"items":[{"text":"FixITKalia"}],"link":{"fullText":"FixITKalia","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDNzhfTHJFSlF0TFI3RExodTlFeV9CQQ%3D%3D&how=tm&text=FixITKalia&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast","logNode":{"name":"channel","attrs":{"attrs":{"clip_channel_data":{"name":"FixITKalia","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDNzhfTHJFSlF0TFI3RExodTlFeV9CQQ%3D%3D&how=tm&text=FixITKalia","orig_url":"http://www.youtube.com/@FixITKalia","id":"d3d3LnlvdXR1YmUuY29tO1VDNzhfTHJFSlF0TFI3RExodTlFeV9CQQ=="}}}}}}],"title":"\u0007[Java\u0007] :keytool error \u0007[Keystore\u0007] \u0007[was\u0007] \u0007[tampered\u0007] \u0007[with\u0007], \u0007[or\u0007] \u0007[password\u0007] \u0007[was\u0007] \u0007[incorrect\u0007](5solution)","views":"1,2K","url":"/video/preview/10114123645097238443?text=java.io.ioexception%3A%20keystore%20was%20tampered%20with%2C%20or%20password%20was%20incorrect&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast&noreask=1","duration":"3:22","durationA11yText":"Süre 00:03:22","dateLabelText":"","isFreshDate":false,"counterAttrs":{"duration":202,"title":"Java :keytool error Keystore was tampered with, or password was incorrect(5solution)","is_highres":false,"url":["http://www.youtube.com/watch?v=a9fGhmZ8LIs"],"creation_time":["2022-11-28T15:53:23.000Z"],"views":[1219],"player":["YouTube"],"ids":["10114123645097238443"]},"isFreshnessColored":true,"isSnippetTitleColorBlack":false,"greenUrlPosition":"BEFORE_INLINE","publishedDateText":"28 Kas 2022","isGreenUrlChannelVerified":false},{"thumb":{"image":"//avatars.mds.yandex.net/get-vthumb/2050262/f6a0f15f65d20560067320a2f685869b/176x100","preview":{"url":"https://video-preview.s3.yandex.net/P2jDQAIAAAA.mp4","type":"video/mp4"},"isVertical":false},"greenUrlProps":[{"items":[{"text":"YouTube"}],"link":{"url":"http://www.youtube.com/watch?v=vefGwAVBm8M"}},{"items":[{"text":"Hey Delphi"}],"link":{"fullText":"Hey Delphi","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDYVpMNGVMRDdhMzBGYThRSS1zUmlfZw%3D%3D&how=tm&text=Hey+Delphi&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast","logNode":{"name":"channel","attrs":{"attrs":{"clip_channel_data":{"name":"Hey Delphi","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDYVpMNGVMRDdhMzBGYThRSS1zUmlfZw%3D%3D&how=tm&text=Hey+Delphi","orig_url":"http://www.youtube.com/@Hey_Delphi","id":"d3d3LnlvdXR1YmUuY29tO1VDYVpMNGVMRDdhMzBGYThRSS1zUmlfZw=="}}}}}}],"title":"Android : Keytool Signing Problem: \u0007[Keystore\u0007] \u0007[was\u0007] \u0007[tampered\u0007] \u0007[with\u0007], \u0007[or\u0007] \u0007[password\u0007] \u0007[was\u0007] \u0007[incorrect\u0007]","views":"","url":"/video/preview/8854878534715530121?text=java.io.ioexception%3A%20keystore%20was%20tampered%20with%2C%20or%20password%20was%20incorrect&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast&noreask=1","duration":"1:33","durationA11yText":"Süre 00:01:33","dateLabelText":"","isFreshDate":false,"counterAttrs":{"duration":93,"title":"Android : Keytool Signing Problem: Keystore was tampered with, or password was incorrect","is_highres":false,"url":["http://www.youtube.com/watch?v=vefGwAVBm8M"],"creation_time":["2023-05-17T12:15:13.000Z"],"views":[36],"player":["YouTube"],"ids":["8854878534715530121"]},"isFreshnessColored":true,"isSnippetTitleColorBlack":false,"greenUrlPosition":"BEFORE_INLINE","publishedDateText":"17 May 2023","isGreenUrlChannelVerified":false},{"thumb":{"image":"//avatars.mds.yandex.net/get-vthumb/1970833/eba4b44df9e2f865a4346068122b9032/176x100","preview":{"url":"https://video-preview.s3.yandex.net/_BHz_gEAAAA.mp4","type":"video/mp4"},"isVertical":false},"greenUrlProps":[{"items":[{"text":"YouTube"}],"link":{"url":"http://www.youtube.com/watch?v=yATcEExfQaU"}},{"items":[{"text":"Knowledge Base"}],"link":{"fullText":"Knowledge Base","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDa05SeHREZF9YOFF1aFBxRE9LSE5WUQ%3D%3D&how=tm&text=Knowledge+Base&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast","logNode":{"name":"channel","attrs":{"attrs":{"clip_channel_data":{"name":"Knowledge Base","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDa05SeHREZF9YOFF1aFBxRE9LSE5WUQ%3D%3D&how=tm&text=Knowledge+Base","orig_url":"http://www.youtube.com/@KnowledgeBaseLibrary","id":"d3d3LnlvdXR1YmUuY29tO1VDa05SeHREZF9YOFF1aFBxRE9LSE5WUQ=="}}}}}}],"title":"Android : Android Studio - \u0007[Keystore\u0007] \u0007[was\u0007] \u0007[tampered\u0007] \u0007[with\u0007], \u0007[or\u0007] \u0007[password\u0007] \u0007[was\u0007] \u0007[incorrect\u0007]","views":"1,1K","url":"/video/preview/8188479387206007663?text=java.io.ioexception%3A%20keystore%20was%20tampered%20with%2C%20or%20password%20was%20incorrect&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast&noreask=1","duration":"1:15","durationA11yText":"Süre 00:01:15","dateLabelText":"","isFreshDate":false,"counterAttrs":{"duration":75,"title":"Android : Android Studio - Keystore was tampered with, or password was incorrect","is_highres":false,"url":["http://www.youtube.com/watch?v=yATcEExfQaU"],"creation_time":["2022-02-12T02:24:29.000Z"],"views":[1068],"player":["YouTube"],"ids":["8188479387206007663"]},"isFreshnessColored":true,"isSnippetTitleColorBlack":false,"greenUrlPosition":"BEFORE_INLINE","publishedDateText":"12 Şub 2022","isGreenUrlChannelVerified":false},{"thumb":{"image":"//avatars.mds.yandex.net/get-vthumb/3907764/55bc661d6fb756e5f14d3f6136fe9a7f/176x100","preview":{"url":"https://video-preview.s3.yandex.net/0kngpQAAAAA.mp4","type":"video/mp4"},"isVertical":false},"greenUrlProps":[{"items":[{"text":"YouTube"}],"link":{"url":"http://www.youtube.com/watch?v=01NfPgQKcw4"}},{"items":[{"text":"Rock0warrier"}],"link":{"fullText":"Rock0warrier","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDelhmUGFoT3dmaEVFajduZ3ZwdDlpZw%3D%3D&how=tm&text=Rock0warrier&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast","logNode":{"name":"channel","attrs":{"attrs":{"clip_channel_data":{"name":"Rock0warrier","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDelhmUGFoT3dmaEVFajduZ3ZwdDlpZw%3D%3D&how=tm&text=Rock0warrier","orig_url":"http://www.youtube.com/user/Rock0warrier","id":"d3d3LnlvdXR1YmUuY29tO1VDelhmUGFoT3dmaEVFajduZ3ZwdDlpZw=="}}}}}}],"title":"How to recover \u0007[keystore\u0007] \u0007[Password\u0007] -bruteforce","views":"13,2K","url":"/video/preview/16249741602884842839?text=java.io.ioexception%3A%20keystore%20was%20tampered%20with%2C%20or%20password%20was%20incorrect&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast&noreask=1","duration":"11:06","durationA11yText":"Süre 00:11:06","dateLabelText":"","isFreshDate":false,"counterAttrs":{"duration":666,"title":"How to recover keystore Password -bruteforce","is_highres":false,"url":["http://www.youtube.com/watch?v=01NfPgQKcw4"],"creation_time":["2017-03-08T02:35:10.000Z"],"views":[13176],"player":["YouTube"],"ids":["16249741602884842839"]},"isFreshnessColored":true,"isSnippetTitleColorBlack":false,"greenUrlPosition":"BEFORE_INLINE","publishedDateText":" 8 Mar 2017","isGreenUrlChannelVerified":false},{"thumb":{"image":"//avatars.mds.yandex.net/get-vthumb/2731021/f3fef0152ce96f323bbbd3d0276b5d7f/176x100","preview":{"url":"https://video-preview.s3.yandex.net/iF25MwIAAAA.mp4","type":"video/mp4"},"isVertical":false},"greenUrlProps":[{"items":[{"text":"YouTube"}],"link":{"url":"http://www.youtube.com/watch?v=bPnvtbJZZD8"}},{"items":[{"text":"FixITKalia"}],"link":{"fullText":"FixITKalia","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDNzhfTHJFSlF0TFI3RExodTlFeV9CQQ%3D%3D&how=tm&text=FixITKalia&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast","logNode":{"name":"channel","attrs":{"attrs":{"clip_channel_data":{"name":"FixITKalia","url":"/video/search?channelId=d3d3LnlvdXR1YmUuY29tO1VDNzhfTHJFSlF0TFI3RExodTlFeV9CQQ%3D%3D&how=tm&text=FixITKalia","orig_url":"http://www.youtube.com/@FixITKalia","id":"d3d3LnlvdXR1YmUuY29tO1VDNzhfTHJFSlF0TFI3RExodTlFeV9CQQ=="}}}}}}],"title":"\u0007[Java\u0007] :\u0007[Java\u0007] Keytool error after importing certificate , \"keytool error: \u0007[java\u0007].\u0007[io\u0007].FileNotFoundException","views":"1,1K","url":"/video/preview/5154262519722803236?text=java.io.ioexception%3A%20keystore%20was%20tampered%20with%2C%20or%20password%20was%20incorrect&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast&noreask=1","duration":"3:28","durationA11yText":"Süre 00:03:28","dateLabelText":"","isFreshDate":false,"counterAttrs":{"duration":208,"title":"Java :Java Keytool error after importing certificate , \"keytool error: java.io.FileNotFoundException","is_highres":false,"url":["http://www.youtube.com/watch?v=bPnvtbJZZD8"],"creation_time":["2023-01-12T04:44:19.000Z"],"views":[1122],"player":["YouTube"],"ids":["5154262519722803236"]},"isFreshnessColored":true,"isSnippetTitleColorBlack":false,"greenUrlPosition":"BEFORE_INLINE","publishedDateText":"12 Oca 2023","isGreenUrlChannelVerified":false}],"header":{"title":"Video","favicon":{"index":0,"pageNumber":0,"size":"m","entry":"1"},"extralinks":{"headerProps":{"title":"Video"},"items":[{"variant":"reportFeedback","reportFeedback":{"feature":"Тематический блок видео","checkBoxLabels":[{"value":"Несоответствие запросу"},{"value":"Шокирующая или неприятная информация"},{"value":"Порнография"},{"value":"Видео не воспроизводится"},{"value":"Другое"}],"selectParams":{"fieldName":"Заголовок видео","items":["Solution keytool error in java Keystore was tampered with or password was incorrect","Java :keytool error Keystore was tampered with, or password was incorrect(5solution)","Android : Keytool Signing Problem: Keystore was tampered with, or password was incorrect","Android : Android Studio - Keystore was tampered with, or password was incorrect","How to recover keystore Password -bruteforce","Java :Java Keytool error after importing certificate , \"keytool error: java.io.FileNotFoundException"]},"customMetaFields":[{"name":"docId","value":"0"},{"name":"queryString","value":"text=java.io.ioexception%3A%20keystore%20was%20tampered%20with%2C%20or%20password%20was%20incorrect&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast&noreask=1"},{"name":"feedback_region","value":"20815"},{"name":"1. Solution keytool error in java Keystore was tampered with or password was incorrect","value":"twitter.yandex.com.tr/video/preview/4544551274472830201"},{"name":"2. Java :keytool error Keystore was tampered with, or password was incorrect(5solution)","value":"twitter.yandex.com.tr/video/preview/10114123645097238443"},{"name":"3. Android : Keytool Signing Problem: Keystore was tampered with, or password was incorrect","value":"twitter.yandex.com.tr/video/preview/8854878534715530121"},{"name":"4. Android : Android Studio - Keystore was tampered with, or password was incorrect","value":"twitter.yandex.com.tr/video/preview/8188479387206007663"},{"name":"5. How to recover keystore Password -bruteforce","value":"twitter.yandex.com.tr/video/preview/16249741602884842839"},{"name":"6. Java :Java Keytool error after importing certificate , \"keytool error: java.io.FileNotFoundException","value":"twitter.yandex.com.tr/video/preview/5154262519722803236"}]}}],"hidden":true}},"footer":{"moreText":"Tüm videoları izle","loadMoreText":"Daha fazla göster"},"videoSearchHref":"/video/search?text=java.io.ioexception%3A%20keystore%20was%20tampered%20with%2C%20or%20password%20was%20incorrect&path=yandex_search&parent-reqid=1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL&from_type=vast&noreask=1","isAdultContent":false,"autoPreviewDisable":false,"reportFeedbackBaseProps":{"initEmail":"","metaFields":{"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","userTestids":"186144,1043965,1045967,151171,1046867,1058163,13962,287509,142430,338390,927534,1065401,1067618,967674,1053398,1053418,1068617,1052893,912284","yandexuid":"9437156621721489763","uid":"0","queryText":"java.io.ioexception: keystore was tampered with, or password was incorrect","reqid":"1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL","searchSlices":["drawer_search_slice_english","drawer_search_slice_cs"],"userRegionName":"Columbus","userRegionId":"20815"}},"isScraper":false,"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"1_mb2mw01-0-1"},"ui":"desktop","service":"web","reqid":"1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL","fast":{"name":"video-unisearch","subtype":"vast"}}}}},"type":"video-unisearch","subtype":"vast"}}
If you're a developer, you might have come across the 'keytool error: java.io.ioexception: keystorewastamperedwith, orpasswordwasincorrect' error while...
I solved it by using the default password for cacerts keystore :
'changeit'
1 Nisan 2014
435 kişi değerlendirdi
3 yorum
{"2_fia5":{"state":{"logo":{"href":"//yandex.com.tr","isForeign":true},"form":{"action":"/search","searchLabel":"Bul","hiddenInputs":[{"name":"lr","value":20815}]},"actions":{"advancedSearch":{"checked":false,"ariaLabel":"Gelişmiş arama"},"moreButtonProps":{"ariaLabel":"Daha fazla"},"cbir":{"name":"cbir","label":"Поиск по картинке","infoUrl":"//yandex.ru/promo/photosearch/index?source=landingdesk","isMacOS":false}},"userSection":{"loggedIn":false,"loginProps":{"loginUrl":"https://passport.yandex.com.tr/auth?retpath=%2F&origin=serp_desktop_auth_new","loginText":"Giriş yap","burgerAriaLabel":"Menü"}},"navigation":{"tabs":[{"id":"www","label":"Arama","url":"//yandex.com.tr","params":{"source":"tabbar"},"target":""},{"id":"images","label":"Görsel","url":"//yandex.com.tr/gorsel/search","params":{"text":"[$query]","noreask":"[$noreask]","nomisspell":"[$nomisspell]","parent-reqid":"[$reqid]","from":"tabbar"}},{"id":"video","label":"Video","url":"//yandex.com.tr/video/search","params":{"text":"[$query]","noreask":"[$noreask]","parent-reqid":"[$reqid]","from":"tabbar"}},{"id":"maps","label":"Haritalar","url":"//yandex.com.tr/harita","params":{"text":"[$query]","source":"serp_navig"}},{"id":"translate","label":"Çeviri","url":"//ceviri.yandex.com.tr","params":{"text":"[$query]","from":"tabbar"}}],"selectedTabId":"www"},"context":{"query":"java.io.ioexception: keystore was tampered with, or password was incorrect","reqid":"1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL","noreask":"1","lr":"20815","counters":{"type":"b","data":{"$header":"0_mb2mz000","logo":"0_mb2mz001","login":"0_mb2mz003","usermenu":"0_mb2mz004","market-cart":"0_mb2mz006","more-button":"0_mb2mz007","cbir":"0_mb2mz008","$navigation":"0_mb2mz009","item":"0_mb2mz00i","tab-www":"0_mb2mz00b","tab-images":"0_mb2mz00d","tab-video":"0_mb2mz00f","tab-maps":"0_mb2mz00h","tab-translate":"0_mb2mz00j"}}},"loggedIn":false,"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"0_mb2mw01-0-1"},"ui":"desktop","service":"web","reqid":"1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL","fast":{"name":"header-desktop"}}}}},"type":"header-desktop"},"2_mb2m0":{"state":{"thumbWidth":198,"thumbHeight":113,"videoPreviewHref":"http://www.youtube.com/watch?v=YylUbdC7zX0","internalLinksTarget":"_blank","posterSrc":"//avatars.mds.yandex.net/get-vthumb/927845/9971884041d5fe5f0f552894218522a1/564x318","videoSrc":"https://video-preview.s3.yandex.net/8C_mpgAAAAA.mp4","videoType":"video/mp4","duration":"1:55","isAdultContent":false,"isVertical":false,"logNode":{"name":"video","attrs":{"externalId":{"entity":"video","id":"4544551274472830201"},"hasVideoViewerLink":false,"hasFilmId":true}},"organicVideoMeta":{"created":"9 Eki 2013","views":"53 bin görüntüleme"},"i18nTexts":{"durationAriaLabel":"Süre","freshAriaLabel":"Yayınlandı"},"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_mb2mw04-0-1"},"ui":"desktop","service":"web","reqid":"1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL","organic":1}}}},"type":"organic"},"2_mb2m1":{"state":{"answersUrl":"https://stackoverflow.com/questions/16891182/keytool-error-keystore-was-tampered-with-or-password-was-incorrect#answers","type":"fact","tabsOptions":[{"id":"question","text":"Soru"},{"id":"bestAnswer","text":"En iyi yanıt"},{"id":"moreAnswers","text":"23 yanıt daha","shortText":"Daha fazla"}],"tabContents":{"question":{"construct":[{"type":"paragraph","content":[{"type":"text","content":"I am getting following error while generating certificates on my local machine."}]},{"type":"code","content":[{"type":"text","content":[{"type":"text","content":"C:\\Users\\abc>keytool -genkey -alias tomcat -keyalg RSA"}]},{"type":"text","content":[{"type":"text","content":"Enter keystore password:"}]},{"type":"text","content":[{"type":"text","content":"keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect"}]}]},{"type":"paragraph","content":[{"type":"text","content":"I think there is some problems in jdk version.I ran the same command on my collegues machine and it is working fine."}]},{"type":"paragraph","content":[{"type":"text","content":"Please share your inputs."}]}],"footerProps":{"date":1370226991,"numLiked":286,"numCommented":7}},"bestAnswer":{"construct":[{"type":"paragraph","content":[{"type":"text","content":"I solved it by using the default password for cacerts keystore : "},{"type":"code","content":[{"type":"text","content":"'changeit'"}],"isInline":true}]}],"footerProps":{"date":1396331824,"numLiked":435,"numCommented":3}},"moreAnswers":[{"construct":[{"type":"paragraph","content":[{"type":"text","content":"This answer will be helpful for new Mac User (Works for Linux, Window 7 64 bit too)."}]},{"type":"paragraph","content":[{"type":"text","content":"Empty Password worked in my mac . (paste the below line in terminal)"}]},{"type":"code","content":[{"type":"text","content":[{"type":"text","content":"keytool -list -v -keystore ~/.android/debug.keystore"}]}]},{"type":"paragraph","content":[{"type":"text","content":"when it prompt for"}]},{"type":"code","content":[{"type":"text","content":[{"type":"text","content":"Enter keystore password:"}]}]},{"type":"paragraph","content":[{"type":"text","content":"just press enter button (Dont type anything).It should work ."}]},{"type":"paragraph","content":[{"type":"text","content":"Please make sure its for default "},{"type":"code","content":[{"type":"text","content":"debug.keystore"}],"isInline":true},{"type":"text","content":" file , not for your project based keystore file (Password might change for this)."}]},{"type":"paragraph","content":[{"type":"text","content":"Works well for MacOS Sierra 10.10+ too."}]},{"type":"paragraph","content":[{"type":"text","content":"I heard, it works for linux environment as well. i haven't tested that in linux yet."}]}],"footerProps":{"date":1592633575,"numLiked":240,"numCommented":3}},{"construct":[{"type":"paragraph","content":[{"type":"text","content":"From your description I assume you are on windows machine and your home is abc"}]},{"type":"paragraph","content":[{"type":"text","content":"So Now : Cause"}]},{"type":"paragraph","content":[{"type":"text","content":"When you run this command"}]},{"type":"paragraph","content":[{"type":"code","content":[{"type":"text","content":"keytool -genkey -alias tomcat -keyalg RSA"}],"isInline":true}]},{"type":"paragraph","content":[{"type":"text","content":"because you are not specifying an explicit keystore it will try to generate (and in your case as you are getting exception so to update) keystore "},{"type":"code","content":[{"type":"text","content":"C:\\users\\abc>.keystore"}],"isInline":true},{"type":"text","content":" and of course you need to provide old password for .keystore while I believe you are providing your version (a new one)."}]},{"type":"paragraph","content":[{"type":"text","content":"Solution"}]},{"isNumbered":true,"type":"list","content":[{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"Either delete "},{"type":"code","content":[{"type":"text","content":".keystore"}],"isInline":true},{"type":"text","content":" from "},{"type":"code","content":[{"type":"text","content":"C:\\users\\abc>"}],"isInline":true},{"type":"text","content":" location and try the command"}]}]},{"type":"text","content":[{"type":"text","content":[{"type":"text","content":"or try following command which will create a new xyzkeystore:"}]},{"type":"text","content":[{"type":"code","content":[{"type":"text","content":"keytool -genkey -keystore xyzkeystore -alias tomcat -keyalg RSA"}],"isInline":true}]}]}]},{"type":"paragraph","content":[{"type":"text","content":"Note:"},{"type":"code","content":[{"type":"text","content":"-genkey"}],"isInline":true},{"type":"text","content":" is old now rather use "},{"type":"code","content":[{"type":"text","content":"-genkeypair"}],"isInline":true},{"type":"text","content":" althought both work equally."}]}],"footerProps":{"date":1603182602,"numLiked":107,"numCommented":6}}]},"organic":{"faviconProps":{"src":"https://favicon.yandex.net/favicon/v2/https://stackoverflow.com","size":"m","pageNumber":0,"index":0},"title":"keytool error \u0007[Keystore\u0007] \u0007[was\u0007] \u0007[tampered\u0007] \u0007[with\u0007], \u0007[or\u0007] \u0007[password\u0007] \u0007[was\u0007] \u0007[incorrect\u0007]","pathProps":{"items":[{"url":"https://stackoverflow.com/questions/16891182/keytool-error-keystore-was-tampered-with-or-password-was-incorrect","text":"stackoverflow.com"},{"url":"https://stackoverflow.com/questions/16891182/keytool-error-keystore-was-tampered-with-or-password-was-incorrect","text":"keytool-error-keystore-was-tampered-with-or-password-was-incorrect"}]},"faviconPosition":0,"subtitlePosition":1,"linkProps":{"url":"https://stackoverflow.com/questions/16891182/keytool-error-keystore-was-tampered-with-or-password-was-incorrect"},"hostTitle":"stackoverflow.com","description":""},"extralinksProps":{"hidden":true,"directions":["bottom-end"],"items":[{"variant":"reportFeedback","reportFeedback":{"feature":"Блок ответов для разработчиков","title":"Bu yanıtta yanlış olan nedir?","checkBoxLabels":[{"value":"Yanıt sorguya uygun değil"},{"value":"Yanıt hatalı"},{"value":"Yanıttaki bilgiler eksik"},{"value":"Diğer"}]}}]},"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_mb2mw0g-0-1"},"ui":"desktop","service":"web","reqid":"1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL","fast":{"name":"article"}}}}},"type":"article"},"2_mb2m2":{"state":{"linksGroups":[{"type":"geo","links":[{"label":"Columbus","title":"Columbus","url":"//yandex.com.tr/tune/geo","logNode":{"name":"region"},"target":"_self","a11yLabel":"Bölgeniz Columbus","needRetpath":true}]},{"type":"feedback","links":[{"label":"Hata bildir","logNode":{"name":"feedback","attrs":{"behaviour":{"type":"dynamic"}}}}]},{"type":"settings","links":[{"label":"Ayarlar","url":"//yandex.com.tr/tune/search","logNode":{"name":"settings"},"target":"_self","needRetpath":true}]},{"type":"company","links":[{"label":"Hakkımızda","url":"https://company.yandex.com.tr","logNode":{"name":"about"},"target":"_blank"},{"label":"Ticari teklifler","url":"/search/direct?text=java.io.ioexception%3A%20keystore%20was%20tampered%20with%2C%20or%20password%20was%20incorrect&filters_docs=direct_cm","logNode":{"name":"commercial"},"target":"_blank"},{"label":"Kariyer","url":"//yandex.com.tr/jobs/?utm_source=serp_turkie&utm_medium=footerlink&utm_content=career","logNode":{"name":"vacancy"},"target":"_blank"},{"label":"Kullanım lisansı","url":"//yandex.com.tr/legal/termsofuse/","logNode":{"name":"license"},"target":"_blank"},{"label":"Gizlilik Politikası","url":"//yandex.com.tr/legal/confidential/","logNode":{"name":"confidential"},"target":"_blank"}],"a11yHidden":true}],"reportFeedbackProps":{"feature":"Подвал","title":"Hata bildir","checkBoxLabels":[]},"isSearchApp":false,"hasExtralinks":true,"limitingSelector":".AliceFabButton","baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_mb2mw0h-0-1"},"ui":"desktop","service":"web","reqid":"1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL"}}}},"type":"serp-footer"},"2_mb2m3":{"state":{"conditionLoadList":{"marketCart":false,"highchartsHighstock":false,"advProductGallery":false,"musicPlayer":false,"ecomRates":false,"photoViewer":false,"easterEggModal":false,"darkmodeChangeDrawer":true},"reportFeedbackBaseProps":{"initEmail":"","metaFields":{"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","userTestids":"186144,1043965,1045967,151171,1046867,1058163,13962,287509,142430,338390,927534,1065401,1067618,967674,1053398,1053418,1068617,1052893,912284","yandexuid":"9437156621721489763","uid":"0","queryText":"java.io.ioexception: keystore was tampered with, or password was incorrect","reqid":"1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL","searchSlices":["drawer_search_slice_english","drawer_search_slice_cs"],"userRegionName":"Columbus","userRegionId":"20815"}},"extralinksPopupProps":{"abuseLink":"https://twitter.yandex.com.tr/search/abuse?sign=7e1d7892a6f6a9905e1a6554829fb11e&keyno=0"},"isLoggedIn":false,"userMenuDialogProps":{"flag":"skin,feedback","host":"yandex.com.tr","lang":"tr","project":"serp","queryParams":{"utm_source":"search"},"retpath":"https%3A%2F%2Ftwitter.yandex.com.tr%2Fsearch%3Flr%3D20815%26noreask%3D1%26rq%3D1%26serp-reload-from%3Drec_bottom%26source%3Dtabbar%26text%3Djava.io.ioexception%253A%2Bkeystore%2Bwas%2Btampered%2Bwith%252C%2Bor%2Bpassword%2Bwas%2Bincorrect%26ncrnd%3D35334","tld":"com.tr"},"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_mb2mw0i-0-1"},"ui":"desktop","service":"web","reqid":"1721489764311227-2795895751278426850-balancer-l7leveler-kubr-yp-klg-151-BAL","fast":{"name":"lazy-load"}}}}},"type":"lazy-load"}}