Burp Suite User Forum

Create new post

BurpSuite Enterprise and Jenkins

Jack | Last updated: 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, PortSwigger Agent | Last updated: Oct 25, 2019 07:03AM UTC

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?

Burp User | Last updated: 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, PortSwigger Agent | Last updated: Oct 29, 2019 02:24PM UTC

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?

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.