One deployment asks for a username and password, another for a client certificate, and a third for both. The choice changes far more than the login prompt: it decides how credentials are issued, how they expire, what recovery looks like at 2 a.m. and who can revoke access for exactly one device. Compare the operational lifecycle rather than the dialog box.

A password is an account secret validated by an authentication process, while a certificate is an identity plus proof of possession of its private key. Those are different objects with different failure modes.

Two Different Proofs, Two Different Prompts

A password proves knowledge of a shared secret, so the server compares a hash and the account system owns the lifecycle. A certificate proves possession of a private key, and the server verifies a signature chain to a CA it trusts. The second can identify a device rather than a person, which is why deployments often issue one per laptop. A passphrase protecting a key file is a third thing again: it guards the file at rest and is not the VPN account password.

Server verification remains necessary in every combination. Valid credentials sent to an endpoint whose identity you stopped checking are still credentials handed to whoever answered, which is why the server-certificate check belongs in the base profile rather than in a troubleshooting step.

Issuance, Expiry and Revocation Are the Real Cost

Passwords are cheap to issue and expensive to support: resets, policy, reuse and the helpdesk queue. Certificates move that cost to the front, where you need a CA, a signing process and a distribution channel, and then add an expiry calendar nobody remembers. Both need revocation planned. A revoked certificate needs a CRL that every server actually reads, and a disabled account needs the authentication backend to refuse it on the next connection rather than at the next sync.

Neither mechanism becomes secure because it exists. The question is which lifecycle the team can operate consistently.

What Breaks When a Device Is Lost

For a lost laptop, remove the authorization that device actually used. A password reset does not revoke its certificate, and issuing a new certificate does not change an unrelated account password. Separate per-device identities make a targeted removal possible, while shared credentials mean offboarding one device affects several. Write the recovery procedure for each mechanism before you need it, including who can sign a replacement certificate outside business hours.

Exercise the revocation path instead of assuming it: revoke a test identity, confirm the server refuses it on a fresh connection, then restore. A revocation process never exercised tends to fail exactly when it is needed.

Running Both Without Doubling the Work

Many deployments combine the two deliberately: a certificate for the device and an account credential for the person, so a stolen laptop is not enough and a leaked password is not enough. That combination pays off only when the two lifecycles stay separate and both are automated. Otherwise the helpdesk runs two queues and the security gain stays theoretical.

Choose the method the service's clients and management tooling actually support. Weakening verification to make a mismatched profile connect inverts the whole point, and a profile edited until it connects is often one that no longer checks what it was built to check.

Record which proof each deployment requires and how each is revoked. The next incident will ask for exactly that.

ဆက်စပ်ဆောင်းပါးများ