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.
- Double-click the certificate file and click Open.Figure 3 Opening the certificate file
- Install the certificate.Figure 4 Installing the certificate
- Select Local Machine for Store Location and click Next.Figure 5 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 6 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 7 Import success
Parent topic: Common Operations
