Hi,
I have no idea what the Bounce Castle library expects or sends for
authentication so I am unable to help you with this. The basic auth
pattern is used by several of our customers and worked without problems
so far.
At all it does not sound like an OpenXPKI problem, you might find
additional information in the apache logs.
Oliver
On 27.06.22 23:37, Pritam Roy wrote:
Hey Oliver,
I have added the basic auth in Apache conf and it's working fine from
UI and whenever I am trying to enroll a certificate I can do that from
postman whereas whenever I am building the EST request using the
bouncy castle api it shows an error message where it states read:0
content length:381 wherein the content has an Unauthorised 401 body.
But using the same bouncy castle request builder when ever I am trying
to enroll in testrfc7030 server i am getting the signed certificate.
Am i missing something?
Regards
Pritam Kumar Roy
On Tue, Jun 21, 2022, 8:53 PM Oliver Welter <m...@oliwel.de> wrote:
Hi,
you need to add a Basic Authentication to your apache and protect the
EST enrollment path. If you want the username to show up in the
workflows, you can use the "NoAuth" authentication handler to consume
the username from the apache environment.
Oliver
On 15.06.22 19:23, Pritam Roy wrote:
> Hello Oliver,
> I have configured a EST server and every operation is working
fine but
> somehow whenever I am sending any request from my code which
contains
> username and password it still uses the ( user: anonymous, role:
> system ) and giving me the signed cert with any username password
> combination. On the other hand when I request a certificate from
webui
> it has the respective user and role. Can you help as why it is
happening?
>
> Thanks and regards,
> Pritam Roy
>
>
> _______________________________________________
> OpenXPKI-users mailing list
> OpenXPKI-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openxpki-users
--
Protect your environment - close windows and adopt a penguin!
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users
--
Protect your environment - close windows and adopt a penguin!
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users