mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
Simplify documentation for conduit certificates.
This commit is contained in:
parent
5915d1dbde
commit
198f447bd9
2 changed files with 1 additions and 38 deletions
|
@ -61,16 +61,7 @@ class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod {
|
|||
"The challenge token you are authenticating with is outside of the ".
|
||||
"allowed time range. Either your system clock is out of whack or ".
|
||||
"you're executing a replay attack.",
|
||||
"ERR-NO-CERTIFICATE" =>
|
||||
'This server requires authentication but your client is not '.
|
||||
'configured with an authentication certificate. For instructions on '.
|
||||
"installing Arcanist certificates, see the documentation:\n\n".
|
||||
' http://www.phabricator.com/docs/phabricator/article/'.
|
||||
'Installing_Arcanist_Certificates.html'.
|
||||
"\n\n".
|
||||
"Retrieve your certificate for this server by logging into the web ".
|
||||
"interface and going here:\n\n".
|
||||
' '.PhabricatorEnv::getProductionURI('/settings/page/arcanist/'),
|
||||
"ERR-NO-CERTIFICATE" => "This server requires authentication.",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
@title Installing Arcanist Certificates
|
||||
@group config
|
||||
|
||||
Arcanist uses certificates to authenticate to Phabricator. Usernames and
|
||||
certificates for each host you have credentials on are stored in your
|
||||
##~/.arcrc## file under the "hosts" key. The configuration should look something
|
||||
like this:
|
||||
|
||||
{
|
||||
# ...
|
||||
"hosts" : {
|
||||
"http://phabricator.example.com/api/" : {
|
||||
"user" : "alincoln",
|
||||
"cert" : "Y2FTilanoONuPzAtXayoctmX6FmIt7QjxXhWVAv2EoWpeik1Deecl3jRo"
|
||||
}
|
||||
# If you have accounts on more than one host, add them here.
|
||||
}
|
||||
}
|
||||
|
||||
To retrieve the certificate for a Phabricator host:
|
||||
|
||||
- Login to Phabricator. **Make sure you log into the installation you are
|
||||
trying to install a certificate for!** If you are installing a certificate
|
||||
for ##phabricator.example.com##, you need to log into
|
||||
##phabricator.example.com##, **not** ##secure.phabricator.com##.
|
||||
- Go to Settings (upper right, near Search) > Arcanist Certificate.
|
||||
|
||||
Copy the host info including the certificate into the "hosts" section.
|
Loading…
Reference in a new issue