Rancher - HTTPS cert issue - installing cattle docker container

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am trying to add a new host to my Rancher environment (using v1.6.17). I add the public IP and hostname then copy & paste the Docker link to the other host. I'm getting CA certificate errors as it provided me with an HTTPS link. Something similar to this:



$ sudo docker run --rm --privileged 
-v /var/run/docker.sock:/var/run/docker.sock
-v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.10
https://IP:8080/v1/scripts/xxxxxxxxxxxxxxxxxxx


I set up a different environment previously and I got a HTTP link so I didn’t have this issue. Can you tell me how to use HTTP only for cattle installation?










share|improve this question























  • Have you tried replacing https in the url with http?
    – FrontENG
    Aug 8 at 10:28










  • forums.rancher.com/t/how-to-upgrade-rancher-agents-to-use-ssl/…
    – slm♦
    Aug 8 at 10:29






  • 1




    Are you using self signed certs or a real SSL cert? - if self signed - rancher.com/docs/rancher/v1.3/en/installing-rancher/….
    – slm♦
    Aug 8 at 10:30














up vote
0
down vote

favorite












I am trying to add a new host to my Rancher environment (using v1.6.17). I add the public IP and hostname then copy & paste the Docker link to the other host. I'm getting CA certificate errors as it provided me with an HTTPS link. Something similar to this:



$ sudo docker run --rm --privileged 
-v /var/run/docker.sock:/var/run/docker.sock
-v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.10
https://IP:8080/v1/scripts/xxxxxxxxxxxxxxxxxxx


I set up a different environment previously and I got a HTTP link so I didn’t have this issue. Can you tell me how to use HTTP only for cattle installation?










share|improve this question























  • Have you tried replacing https in the url with http?
    – FrontENG
    Aug 8 at 10:28










  • forums.rancher.com/t/how-to-upgrade-rancher-agents-to-use-ssl/…
    – slm♦
    Aug 8 at 10:29






  • 1




    Are you using self signed certs or a real SSL cert? - if self signed - rancher.com/docs/rancher/v1.3/en/installing-rancher/….
    – slm♦
    Aug 8 at 10:30












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to add a new host to my Rancher environment (using v1.6.17). I add the public IP and hostname then copy & paste the Docker link to the other host. I'm getting CA certificate errors as it provided me with an HTTPS link. Something similar to this:



$ sudo docker run --rm --privileged 
-v /var/run/docker.sock:/var/run/docker.sock
-v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.10
https://IP:8080/v1/scripts/xxxxxxxxxxxxxxxxxxx


I set up a different environment previously and I got a HTTP link so I didn’t have this issue. Can you tell me how to use HTTP only for cattle installation?










share|improve this question















I am trying to add a new host to my Rancher environment (using v1.6.17). I add the public IP and hostname then copy & paste the Docker link to the other host. I'm getting CA certificate errors as it provided me with an HTTPS link. Something similar to this:



$ sudo docker run --rm --privileged 
-v /var/run/docker.sock:/var/run/docker.sock
-v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.10
https://IP:8080/v1/scripts/xxxxxxxxxxxxxxxxxxx


I set up a different environment previously and I got a HTTP link so I didn’t have this issue. Can you tell me how to use HTTP only for cattle installation?







linux container coreos






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 8 at 10:22









slm♦

238k65491662




238k65491662










asked Aug 8 at 10:15









Stephen

608




608











  • Have you tried replacing https in the url with http?
    – FrontENG
    Aug 8 at 10:28










  • forums.rancher.com/t/how-to-upgrade-rancher-agents-to-use-ssl/…
    – slm♦
    Aug 8 at 10:29






  • 1




    Are you using self signed certs or a real SSL cert? - if self signed - rancher.com/docs/rancher/v1.3/en/installing-rancher/….
    – slm♦
    Aug 8 at 10:30
















  • Have you tried replacing https in the url with http?
    – FrontENG
    Aug 8 at 10:28










  • forums.rancher.com/t/how-to-upgrade-rancher-agents-to-use-ssl/…
    – slm♦
    Aug 8 at 10:29






  • 1




    Are you using self signed certs or a real SSL cert? - if self signed - rancher.com/docs/rancher/v1.3/en/installing-rancher/….
    – slm♦
    Aug 8 at 10:30















Have you tried replacing https in the url with http?
– FrontENG
Aug 8 at 10:28




Have you tried replacing https in the url with http?
– FrontENG
Aug 8 at 10:28












forums.rancher.com/t/how-to-upgrade-rancher-agents-to-use-ssl/…
– slm♦
Aug 8 at 10:29




forums.rancher.com/t/how-to-upgrade-rancher-agents-to-use-ssl/…
– slm♦
Aug 8 at 10:29




1




1




Are you using self signed certs or a real SSL cert? - if self signed - rancher.com/docs/rancher/v1.3/en/installing-rancher/….
– slm♦
Aug 8 at 10:30




Are you using self signed certs or a real SSL cert? - if self signed - rancher.com/docs/rancher/v1.3/en/installing-rancher/….
– slm♦
Aug 8 at 10:30










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Thanks, but it seems like I have found the answer online.
Here:
https://3503bfe669f8-003837.vbulletin.net/forum/main-forum/372-v3-virtualbox-poc-cannot-connect-rancher-hosts






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f461248%2francher-https-cert-issue-installing-cattle-docker-container%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Thanks, but it seems like I have found the answer online.
    Here:
    https://3503bfe669f8-003837.vbulletin.net/forum/main-forum/372-v3-virtualbox-poc-cannot-connect-rancher-hosts






    share|improve this answer
























      up vote
      0
      down vote













      Thanks, but it seems like I have found the answer online.
      Here:
      https://3503bfe669f8-003837.vbulletin.net/forum/main-forum/372-v3-virtualbox-poc-cannot-connect-rancher-hosts






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        Thanks, but it seems like I have found the answer online.
        Here:
        https://3503bfe669f8-003837.vbulletin.net/forum/main-forum/372-v3-virtualbox-poc-cannot-connect-rancher-hosts






        share|improve this answer












        Thanks, but it seems like I have found the answer online.
        Here:
        https://3503bfe669f8-003837.vbulletin.net/forum/main-forum/372-v3-virtualbox-poc-cannot-connect-rancher-hosts







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 8 at 10:36









        Stephen

        608




        608



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f461248%2francher-https-cert-issue-installing-cattle-docker-container%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?