Bug 62845 - The Root Certificate doesnot regenerate once deleted from the bin folder
Summary: The Root Certificate doesnot regenerate once deleted from the bin folder
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.0
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2018-10-22 11:49 UTC by Vikash kumar gupta
Modified: 2022-02-22 09:04 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Vikash kumar gupta 2018-10-22 11:49:07 UTC
Jmeter will generate the root certificate in the bin folder only once. If the certificate is deleted, Jmeter will not regenerate the certificate again but the message box appears that root certificate is generated.

How to reproduce:
1. Open Jmeter 5.0. Add test script recorder under Test Plan. CLick on start button. Jmeter shows msg that root cert is generated in bin folder and the certificate is indeed generated.
2. Now delete the certificate.
3. Click again the start button in the test script recorder.
4. Jmeter will show dialog saying root cert is generated under bin folder
5. Now navigate to bin folder and you will not find the certificate.

Expected outcome: If the root cert is deleted, Jmeter should regenerate the certificate.
Comment 1 Philippe Mouawad 2018-10-22 12:15:09 UTC
you need to delete the jks file in bin folder.