Certificate Import for HTTPS interface test

Source: Internet
Author: User

HTTP and HTTPS test slightly different, HTTPS needs to load the certificate, the port is not the same, the operation is as follows:

1. Download the tested URL Certificate import

It was tested using Google Chrome.

Files that generate the. cer suffix

2. Convert the exported certificate to. Storeformat of the file, the steps are as follows:

run under the bin path of the JMeter installation

Keytool-import-alias "Name.store"-file "path"-keystore Name.store

where name is the converted file name; path is the location where the. cer file is stored

Enter password -add trust (password set yourself)

To view files:

3. Enter 443 on the port number of the HTTP request , protocol input https

4. Add a certificate in SSL Manager (option --ssl manager)

Certificates converted to. store files are stored by default in the bin path of the JMeter installation

Run-time requires a password, password is the password entered in step 2nd

The test results are as follows: (select Brower to see the response results more clearly)

Certificate Import for HTTPS interface test

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.