Colly: How to use ssl client certificate (p12) with colly?

Created on 30 Jun 2018  路  2Comments  路  Source: gocolly/colly

How to use ssl client certificate (p12) with colly?

question

Most helpful comment

You should be able to do it by configuring a transport and setting the collector WithTranport

More details can be found in a basic Golang http example I found here

https://gist.githubusercontent.com/michaljemala/d6f4e01c4834bf47a9c4/raw/f1b87b381499b6e86dfc60fab845fbe0ef1b9bfb/tls-client.go

All 2 comments

Like this :
curl \
--cert ./.p12 \
--pass \
-H "Authorization: orgId=" \
"https://api.searchads.apple.com/api/v1/campaigns/"

You should be able to do it by configuring a transport and setting the collector WithTranport

More details can be found in a basic Golang http example I found here

https://gist.githubusercontent.com/michaljemala/d6f4e01c4834bf47a9c4/raw/f1b87b381499b6e86dfc60fab845fbe0ef1b9bfb/tls-client.go

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mishop picture mishop  路  3Comments

dzakaammar picture dzakaammar  路  3Comments

killernova picture killernova  路  6Comments

ascode picture ascode  路  3Comments

zplzpl picture zplzpl  路  5Comments