REST API with Authentication

I'm trying to authenticate to and ultimately use a rest API that uses a url, username and password, certificate.pem file and a private key.pem file.
I see plenty of examples for using APIs with basic authentication, and plenty of examples for oauth2 authentication, but nothing for this situation. I'm sure there's a recipe with httr, but I can't find it.
Does anyone have a pointer?
Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.