File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ describe("When configured for HTTPS", () => {
201201
202202 const cert = tlsSocket . getPeerCertificate ( ) ;
203203 expect ( cert . subject . CN ) . to . equal ( 'example.testserver.host' ) ;
204- expect ( cert . issuer . CN ) . to . include ( 'ZeroSSL RSA Domain Secure Site CA ' ) ; // <-- This is the real issuer, right now at least
204+ expect ( cert . issuer . O ) . to . include ( 'Google Trust Services ' ) ;
205205 } ) ;
206206
207207 it ( "bypasses Mockttp for TLS connections inside matching HTTP/1 CONNECT tunnel" , async ( ) => {
@@ -221,7 +221,7 @@ describe("When configured for HTTPS", () => {
221221
222222 const cert = tlsSocket . getPeerCertificate ( ) ;
223223 expect ( cert . subject . CN ) . to . equal ( '*.ip-api.com' ) ;
224- expect ( cert . issuer . CN ) . to . include ( 'Sectigo RSA Domain Validation Secure ' ) ;
224+ expect ( cert . issuer . O ) . to . include ( 'Sectigo Limited ' ) ;
225225 } ) ;
226226
227227 it ( "still handles matching CONNECT-tunnelled plain-HTTP requests" , async ( ) => {
You can’t perform that action at this time.
0 commit comments