Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

BurpSuite Enterprise and Jenkins

Jack Hill Oct 24, 2019 04:38PM UTC

When using Jenkins to build with BurpSuite Enterprise, the following error gets produced: " java.lang.IllegalArgumentException: Must provide a certificate in PEM format".
What certificate is it referring to, is this the API key to login with the service account or something else?


Ben Wright Oct 25, 2019 09:53AM UTC Support Center agent

Hi,

Can you walk us through the steps that you have taken to get this error so that we have some more information of where and at what point this issue is occurring?


Jack Hill Oct 29, 2019 02:12PM UTC
Hey Ben, thanks for the reply. We have deployed Burp Suite Enterprise and generated a user "Jenkins" for login type of api. We then have installed the plug-in to our Jenkins environment and added a build step of using BurpSuite. However, when we build we get the following error:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
ERROR: Build step failed with exception
java.lang.IllegalArgumentException: Must provide a certificate in PEM format
at net.portswigger.bs.b(Unknown Source)
at net.portswigger.bs.a(Unknown Source)
at net.portswigger.burp.api.b.<init>(Unknown Source)
at net.portswigger.burp.api.driver.BurpCiDriver.<init>(Unknown Source)
at org.jenkinsci.plugins.burpscan.BurpScanRecorder.perform(BurpScanRecorder.java:132)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1818)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Build step 'Burp scan' marked build as failure
Finished: FAILURE

Liam Tai-Hogan Oct 30, 2019 03:26PM UTC Support Center agent

Thanks for the additional information, Jack.

Could you email us a screenshot (support@portswigger.net) of your Jenkins plugin settings/configuration screen?

Also, could you provide the build steps you are using to trigger a build?


Post Your public answer

Your name
Your email address
Answer