ໃຊ້ OpenSSL s_client ທີ່ຕິດຕັ້ງ ແລະຮອງຮັບ -proxy. ສຳລັບ HTTP CONNECT endpoint ທີ່ອະນຸຍາດ:

openssl s_client -proxy proxy.example:3128   -connect example.com:443 -servername example.com   -verify_hostname example.com -verify_return_error -showcerts

ປ່ຽນທີ່ຢູ່ proxy ແລະໃຊ້ຊື່ປາຍທາງທີ່ຕັ້ງໃຈໄວ້ຢ່າງສະເໝີ. ເພື່ອທົດສອບ public destination ຜ່ານ proxy ທີ່ທ່ານເລືອກໄດ້, ໃຫ້ເລືອກ HTTP candidate ຈາກ HTTP proxy list. -connect ເລືອກເປົ້າໝາຍ, -servername ສົ່ງ SNI ສຳລັບ TLS virtual host ແລະ -verify_hostname ກວດຕົວຕົນ. SNI ຢ່າງດຽວບໍ່ແມ່ນການກວດຊື່ host. ເວລາປັບຕົວເລືອກ ໃຫ້ເບິ່ງ ຄູ່ມືຂອງ release ທີ່ຕິດຕັ້ງ.

-showcerts ສະແດງສິ່ງທີ່ server ສົ່ງ ບໍ່ໄດ້ປະກາດວ່າ chain ເຊື່ອຖືໄດ້. -verify_return_error ເຮັດໃຫ້ verification errors ຢຸດ handshake; ບໍ່ດັ່ງນັ້ນ diagnostic client ອາດສືບຕໍ່ຫຼັງຄວາມຜິດພາດ. ສຳລັບ private service ໃຫ້ໃຊ້ CA material ທີ່ອະນຸມັດ ແທນການເຊື່ອ certificate ທີ່ດາວໂຫຼດແບບສຸ່ມ.

ຜົນໄດ້ຮັບຂັ້ນຕອນ
407Proxy authentication ກ່ອນ destination TLS.
CONNECT target ຖືກປະຕິເສດນະໂຍບາຍ destination ຂອງ proxy.
ໄດ້ຮັບ certificate ແລະພະຍາຍາມ verificationdestination TLS exchange ຜ່ານ tunnel ທີ່ຮັບ.

ດ້ວຍ OpenSSL 3.x ແລະ HTTP proxy ທີ່ໃຊ້ Basic authentication, ໃຫ້ໃຊ້ s_client proxy-account options ໂດຍຮັກສາ destination verification.

SOCKS-only endpoint ບໍ່ໃຫ້ HTTP proxy interface ທີ່ຄຳສັ່ງນີ້ໃຊ້. ໃນ authorized TLS interception, certificate ທີ່ສະແດງອາດອອກໂດຍ intermediary ນັ້ນ. ປຽບທຽບ issuer ແລະ intended trust arrangement ກ່ອນຈະໂທດເວັບໄຊທີ່ເສຍ.

ບົດຄວາມທີ່ກ່ຽວຂ້ອງ