• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Private Registry with self signed certifcate and basic auth
#1
Hello,

is there a chance to pull images from a private registry with self signed certificate and basic authentication?


Thanks in advance,

Jonas
  Reply
#2
Well Jonas,

the point is that potainer in the current version V1.12.4 used does not offer a web page to enter the basic credentials like user and password. So you have no chance to push it to a privat repo + basic auth.

We will be coming end of november with a new netpi release haveing portainer V1.19.2 implement. With this version it will be definitively work.

Meanwhile you can program portainer's REST API. This REST API calls are redirecting the commands directly to docker running on netPI 1:1. With this REST API you are able to to push to a registry with basic auth.


You find a Node-RED flow as example how to program portainer'S REST API here: https://forum.hilscher.com/Thread-Managi...ESTful-API. But of course you can use any http client program to send the same commands as well.

Regards
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
(October-8th-2018, 02:51 PM)Armin@netPI Wrote: Well Jonas,

the point is that potainer in the current version V1.12.4 used does not offer a web page to enter the basic credentials like user and password. So you have no chance to push it to a privat repo + basic auth.

We will be coming end of november with a new netpi release haveing portainer V1.19.2 implement. With this version it will be definitively work.

Meanwhile you can program portainer's REST API. This REST API calls are redirecting the commands directly to docker running on netPI 1:1. With this REST API you are able to to push to a registry with basic auth.


You find a Node-RED flow as example how to program portainer'S REST API here: https://forum.hilscher.com/Thread-Managi...ESTful-API. But of course you can use any http client program to send the same commands as well.

Regards
Armin

Ok, thanks Armin.

The seld signed certificate, I only have to add under Security --> Public Key Infrastructure --> Root Certtificates?


Regards,

Jonas
  Reply
#4
Loading from own trusted registry server is explained here in all details already: https://forum.hilscher.com/Thread-Setup-...containers

In this example a normal Raspberry Pi is hosting the registry. You have to adapt it to your own server that can be any Linux machine ... But the procedure on netPI, importing the certificate, is always the same.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Portainer Stack fails to pull from private Registry Andi 5 5,301 February-16th-2022, 09:03 AM
Last Post: Armin@netPI
  [SOLVED] Help with fieldbus node Farani 5 3,872 August-20th-2019, 07:22 AM
Last Post: Armin@netPI
  [SOLVED] How to update firmware philippbruhin.ch 12 9,078 July-16th-2019, 11:20 AM
Last Post: patrick
  [SOLVED] Docker issues AlexRegev 7 5,101 June-26th-2019, 02:14 PM
Last Post: AlexRegev
  [SOLVED] Diagnostic service MGharat 1 1,904 April-2nd-2019, 09:45 PM
Last Post: Armin@netPI
  [SOLVED] NPIX-DIDO MGharat 2 5,899 March-13th-2019, 06:06 AM
Last Post: MGharat
  Setup trusted Docker registry on a Raspberry Pi to host netPI containers Armin@netPI 12 12,111 January-31st-2019, 06:47 PM
Last Post: Armin@netPI
  [SOLVED] Access problems Azzamjj 8 6,930 January-25th-2019, 07:43 AM
Last Post: Armin@netPI
  [SOLVED] Portainer.IO. cannot log in JZijlstra 2 3,375 January-10th-2019, 06:04 PM
Last Post: JZijlstra
  [SOLVED] Boot from usb stick Jonas.Sellmann@outlook.de 1 2,719 November-21st-2018, 04:11 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)