Close Menu
Java HelpsJava Helps
    What's Hot

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    How to Set Proxy for IntelliJ IDEA?

    December 20, 2022

    What is Garbage Collection?

    December 7, 2022
    Facebook X (Twitter) Instagram
    Java HelpsJava Helps
    • Home
    • How To
      1. Install
      2. Run
      3. Configure
      4. View All

      How to Install MySQL with phpMyAdmin on Ubuntu?

      December 4, 2022

      Install The Latest IntelliJ IDEA on Linux

      November 28, 2022

      Install The Latest Apache Maven on Linux

      November 27, 2022

      Install The Latest Oracle JDK on Linux

      November 27, 2022

      Run NiFi Cluster in Docker with SSL Enabled

      December 6, 2022

      How to Run Apache NiFi Docker on Mac M1?

      December 1, 2022

      How to Run Apache NiFi on Docker?

      December 1, 2022

      Create A New Maven Project In IntelliJ IDEA

      November 29, 2022

      Things To Do After Installing IntelliJ IDEA

      December 20, 2022

      How to Set Proxy for IntelliJ IDEA?

      December 20, 2022

      How to Set Proxy for Maven?

      December 6, 2022

      How to Create a Fat JAR Using Maven?

      December 5, 2022

      Things To Do After Installing IntelliJ IDEA

      December 20, 2022

      How to Set Proxy for IntelliJ IDEA?

      December 20, 2022

      Manage GitHub Artifact Storage Quota

      December 6, 2022

      Run NiFi Cluster in Docker with SSL Enabled

      December 6, 2022
    • Hello World
      1. Framework
      2. Library
      3. View All

      JPA Hello World! using Hibernate and MySQL

      December 3, 2022

      Jersey 3.x – Hello World!

      December 2, 2022

      Microservices Framework for Java (MSF4J) – Hello World!

      December 1, 2022

      How to Parse PCAP files in Java?

      November 30, 2022

      JPA Hello World! using Hibernate and MySQL

      December 3, 2022

      Jersey 3.x – Hello World!

      December 2, 2022

      Microservices Framework for Java (MSF4J) – Hello World!

      December 1, 2022

      How to Parse PCAP files in Java?

      November 30, 2022
    • More
      • Privacy Policy
        • Java Helps
        • Android Apps
      • Contact US
      • About
    Facebook X (Twitter) Instagram
    Java HelpsJava Helps
    Home » How to Set Proxy for IntelliJ IDEA?
    IntelliJ IDEA
    IntelliJ IDEA
    Configure

    How to Set Proxy for IntelliJ IDEA?

    Gobinath LoganathanBy Gobinath LoganathanDecember 20, 2022No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Security and data protection are inevitable in the software world. Most companies set up proxies to limit access to the public internet. Though it is a common practice, sometimes proxies make the developer’s life harder. As a developer, you may not be able to access the required resources without configuring proxy settings in all the places.

    The How to Set Proxy for Maven? article explains how to use Apache Maven in the command line, IntelliJ IDEA, and Eclipse behind a proxy. This article explains how to configure a proxy for IntelliJ and how to prevent the annoying “Untrusted Server’s Certificate” warning dialog in IntelliJ IDEA. Though I use IntelliJ IDEA as an example, this post is applicable to all JetBrains products such as PyCharm, Android Studio, WebStorm, PhpStorm, RubyMine, GoLand, CLion, AppCode etc.

    How to Set Proxy for IntelliJ

    Step 1:
    Open the Settings dialog from the menu File → Settings (Ctrl + Alt + S).

    Step 2:
    Expand the “Appearance & Behavior” group and expand the “System Settings” sub-group. Under the “System Settings” sub-group, select “HTTP Proxy”.

    Step 3:
    If your company has an automatic proxy configuration URL, select the “Auto-detect proxy settings” option and provide the URL. Otherwise, select the “Manual proxy configuration” option and provide your proxy settings.

    Step 4:
    Click the “Check connection” button and make sure the IDE is able to connect to the internet using the proxy settings. If it doesn’t work, revisit Step 3 and make sure you are using the correct proxy settings.

    Set Proxy for IntelliJ

    Step 5:
    Click the Apply and OK buttons to apply the changes.


    Add Server Certificate

    If you are behind a proxy, most likely your company’s proxy server also overrides the SSL certificate. If it is the case, IntelliJ IDEA will not be able to verify the SSL connections and will keep showing a warning dialog with the message: Untrusted Server’s Certificate. You can simply close this message dialog and keep using the IDE but it may test your patience by popping up at random intervals. To fix this problem, you have two options:

    1. Adding your company’s certificate to IntelliJ – Only if you have one
    2. Accepting non-trusted certificates – Not a good practice but if your company doesn’t provide a certificate, there is no other option

    Step 1:
    Open the Settings dialog from the menu File → Settings (Ctrl + Alt + S).

    Step 2:
    Expand the “Tools” group and select “Server Certificates”.

    IntelliJ IDEA Server Certificates

    Step 3.1:
    If you have the certificate, click on the + button and add the certificate.

    IntelliJ IDEA Add Accepted Certificates

    Step 3.2:
    If you don’t have a certificate, check the “Accept the non-trusted certificates automatically” option.

    IntelliJ IDEA Accept Non-trusted Certificates

    Step 4:
    Click the Apply and OK buttons to apply the changes. After making these changes, you are free from the annoying Untrusted Server’s Certificate messages.

    Have you found this article useful? Please let me know below in the comments. Knowing someone found my articles useful motivates me to write more. Also, comment below if you face any issues with following this article or getting it working. I will try my best to help you resolve the problem. The Java Helps community is also willing to help each other and grow together.



    intellij
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    How to Set Proxy for Maven?

    December 6, 2022

    How to Create a Fat JAR Using Maven?

    December 5, 2022

    Create Scala Project with Maven in IntelliJ IDEA

    December 4, 2022

    How to Add MySQL JDBC Driver to Eclipse?

    December 4, 2022

    How to Disable Hibernate Logs in the Output?

    December 3, 2022
    Don't Miss
    Configure

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    IntelliJ Idea: the famous IDE for JVM languages including Java, Scala, and Kotlin. If you…

    How to Set Proxy for IntelliJ IDEA?

    December 20, 2022

    What is Garbage Collection?

    December 7, 2022

    Manage GitHub Artifact Storage Quota

    December 6, 2022
    Our Picks

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    How to Set Proxy for IntelliJ IDEA?

    December 20, 2022

    What is Garbage Collection?

    December 7, 2022

    Manage GitHub Artifact Storage Quota

    December 6, 2022
    About Us
    About Us

    Java Helps is the platform to share all about the Java ecosystem. All the sample code available on Java Helps articles are published under Apache 2.0 License. Readers are free to use them according to the Apache 2.0 License.

    "The world is my town; its people my kinsmen."
    -Kaṉiyan Pūngunṟanār

    Email Us: www.javahelps@gmail.com

    Our Picks

    Things To Do After Installing IntelliJ IDEA

    December 20, 2022

    How to Set Proxy for IntelliJ IDEA?

    December 20, 2022

    What is Garbage Collection?

    December 7, 2022
    New Comments

      Type above and press Enter to search. Press Esc to cancel.

      Go to mobile version