Re: Orthanc requesting username and password

10,282 views
Skip to first unread message

Erik Anderson

unread,
Jun 18, 2014, 6:08:14 PM6/18/14
to jye....@gmail.com, orthan...@googlegroups.com
(Sending again, as I accidentally sent my original reply to Jye only)

Jye -

Before being able to sign in, you'll need to create a user for yourself by
modifying this section of your Orthanc config:

"RegisteredUsers" : {
// "alice" : "alicePassword"
},

-Erik

On Wed, Jun 18, 2014 at 4:45 PM, <jye....@gmail.com> wrote:
> Hi,
>
> Ive just downloaded the windows binary and started Orthanc on a server. Opening http://10.229.30.110:8042/app/explorer.html I am asked for a a username and password.
>
> Does Orthanc have a default username and password? Ive been unable to find anything in the FAQ etc.
>
> Cheers
> Jye

Sébastien Jodogne

unread,
Jun 19, 2014, 12:52:46 AM6/19/14
to orthan...@googlegroups.com, jye....@gmail.com
As a complement to Erik's answer, given your URL, you are visibly accessing Orthanc from a remote compute.

Because of this, you will have to set the option "RemoteAccessAllowed" to "true" in the configuration file. For security reasons, Orthanc blocks by default all the requests coming from outside the localhost.

https://code.google.com/p/orthanc/wiki/OrthancConfiguration

Cheers,
Sébastien-

Jye Smith

unread,
Jun 19, 2014, 12:55:09 AM6/19/14
to Sébastien Jodogne, orthan...@googlegroups.com
Thanks guys. After a bit more digging I found all of the info. The json file was also very easy to configure.

Cheers

peterp...@gmail.com

unread,
Jul 9, 2014, 11:05:27 AM7/9/14
to orthan...@googlegroups.com, s.jo...@gmail.com, jye....@gmail.com
where can I find the configuration file under windows? or generate it under windows?

Sébastien Jodogne

unread,
Jul 9, 2014, 11:11:22 AM7/9/14
to orthan...@googlegroups.com, s.jo...@gmail.com, jye....@gmail.com, peterp...@gmail.com
This is described on the Wiki:
https://code.google.com/p/orthanc/wiki/OrthancConfiguration

Do you experience problems with the explanations of this page?

peterp...@gmail.com

unread,
Jul 9, 2014, 1:09:20 PM7/9/14
to orthan...@googlegroups.com, s.jo...@gmail.com, jye....@gmail.com, peterp...@gmail.com
I understand the wiki, but I cannot find the config file under Windows. I only see the executable. Starting the exe with the CMD prompt with the --config=Configuration.json doesn't work. I tried to make one myself with notepad++, doesn't work either... Is this only possible under Linux?

Sébastien Jodogne

unread,
Jul 9, 2014, 1:38:40 PM7/9/14
to orthan...@googlegroups.com, s.jo...@gmail.com, jye....@gmail.com, peterp...@gmail.com

Hi,

Here is a screenshot of what you should do to generate the configuration file:


Could you try and reproduce these manipulations, then post a screenshot if it fails?

Sébastien-

peterp...@gmail.com

unread,
Jul 9, 2014, 2:51:01 PM7/9/14
to orthan...@googlegroups.com, s.jo...@gmail.com, jye....@gmail.com, peterp...@gmail.com
Thank you so much for your patience. I forgot the phrase config=.
fast reading I guess..
So it is working now, thanks!

Sébastien Jodogne

unread,
Jul 9, 2014, 2:52:32 PM7/9/14
to orthan...@googlegroups.com, s.jo...@gmail.com, jye....@gmail.com, peterp...@gmail.com
Fine! Enjoy :)

darshana ranasingha

unread,
Jul 6, 2020, 12:58:34 PM7/6/20
to Orthanc Users
hi ,
 any one can help me to config orthanc http server.
when i enable the remote login, it is ask the user name and password for the login.
i put alice and alicepassword but it is not working



Chirag Malaviya

unread,
Jul 6, 2020, 1:03:18 PM7/6/20
to Orthanc Users
The default password is alicePassword (capital P) make sure you are entering the correct one.

Sébastien Jodogne

unread,
Jul 7, 2020, 12:39:02 AM7/7/20
to Orthanc Users
Hello,

The default username is "orthanc" (without the quotes) and the default password is also "orthanc".

If you can't access Orthanc from another computer, make sure that the "RemoteAccessAllowed" configuration option is set to "true" and that firewalls are properly configured:

Finally, learn about security:

Sébastien-

darshana ranasingha

unread,
Jul 7, 2020, 12:42:02 AM7/7/20
to Sébastien Jodogne, Orthanc Users
Hello, 
   Ok thanks. I will try and inform 


--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/425af7e9-32e8-4964-baa2-a84effb1c5ddo%40googlegroups.com.

darshana ranasingha

unread,
Jul 10, 2020, 3:28:24 AM7/10/20
to Sébastien Jodogne, Orthanc Users
Hi,  
   Any one can share or orthanc configurations with users

Alain Mazy

unread,
Jul 10, 2020, 9:08:58 AM7/10/20
to darshana ranasingha, Sébastien Jodogne, Orthanc Users
{
  "RemoteAccessAllowed"true,
  "AuthenticationEnabled"true,
  "RegisteredUsers": {
    "demo""demo-pwd"
  },
}



--

Alain Mazy / Orthanc-Studio Manager & Software Developer
a...@osimis.io / +32 494 31 67 27

Osimis

OSIMIS S.A. 
Quai Banning 6BE-4000 Liège 
www.osimis.io

Twitter LinkedIn


darshana ranasingha

unread,
Jul 12, 2020, 7:32:12 AM7/12/20
to Alain Mazy, Sébastien Jodogne, Orthanc Users
hi bro
  please check my configuration file i can not loging in to the orthanc using user name and password
orthanc.json

Alain Mazy

unread,
Jul 13, 2020, 3:29:48 AM7/13/20
to darshana ranasingha, Sébastien Jodogne, Orthanc Users
You should check your startup logs (https://book.orthanc-server.com/faq/log.html).
In your case, there are no RegisteredUsers while RemoteAccessEnabled is true -> there's a default orthanc:orthanc user that is created.

darshana ranasingha

unread,
Jul 14, 2020, 3:20:09 AM7/14/20
to Alain Mazy, Orthanc Users, Sébastien Jodogne
Please check this 


  // Whether remote hosts can connect to the HTTP server
  "RemoteAccessAllowed" : true,
  // "AuthenticationEnabled" : true,

  // Whether or not SSL is enabled
  "SslEnabled" : false,

  // Path to the SSL certificate in the PEM format (meaningful only if
  // SSL is enabled)
  "SslCertificate" : "certificate.pem",

  // Whether or not the password protection is enabled (using HTTP
  // basic access authentication). Starting with Orthanc 1.5.8, if
  // "AuthenticationEnabled" is not explicitly set, authentication is
  // enabled iff. remote access is allowed (i.e. the default value of
  // "AuthenticationEnabled" equals that of "RemoteAccessAllowed").
  /**
     "AuthenticationEnabled" : true,
   **/

  // The list of the registered users. Because Orthanc uses HTTP
  // Basic Authentication, the passwords are stored as plain text.
  "RegisteredUsers" : {
    // "alice" : "alicePassword",
    // "admin" : "adminPassword",
  },

Alain Mazy

unread,
Jul 14, 2020, 3:35:51 AM7/14/20
to darshana ranasingha, Orthanc Users, Sébastien Jodogne
Please check my last message
Reply all
Reply to author
Forward
0 new messages