Installing the Root Certificate
Before using the Java Profiler on VS Code to create a real-time profiling task, perform the following steps to install the root certificate:
- Select the target environment to be analyzed, select a process from the Java process list, and click Real-Time Profiling.Figure 1 Java process list
- The Installing a Root Certificate dialog box is displayed. See Figure 2.
- Download the certificate to the certificate storage directory as prompted.
- Select Local Machine for Store Location and click Next.Figure 3 Certificate Import Wizard
- Select Place all certificates in the following store. In the Select Certificate Store dialog box, select Trusted Root Certification Authorities and click OK. Then click Next.Figure 4 Select Certificate Store
- Import the certificate as instructed. When a success message is displayed, click OK to complete the certificate installation.
After the certificate is imported, restart VS Code for the certificate to take effect.
Figure 5 Import success
Parent topic: Common Operations
