Pages

Monday 4 November 2013

Install burp CA Certificate in iPhone Simulator

  1. You should have Mac machine with xcode(comes simulator) (either physical or virtual)
  2. To capture SSL traffic for hybrid apps (Native+web) you need to install the proxy certificate (here i am taking burp proxy and portSwiggerCA certificate file)
  3. You should install or Add the certificate in below location
    Library→Application Support→iPhone Simulator→Version(5.0)→Library→KeyChains→TrustStore.sqlite3 database file
  4. Download the iosCertTrustManager.py script from Github and use the below command to add the certificate in TrustStore database
    download the iosCertTrustManager.py script from Github
    Admins-iMac-2:burp admin$ python iosCertTrustManager.py -a PortSwiggerCA

  5. Certificate will be added or replaced successfully.