Closed p1ratrulezzz closed 5 years ago
Looks like dnscrypt-wrapper can be used as an utility to do so, just need to pass your certificate in --provider-cert-file parameter
dnscrypt-wrapper --show-provider-publickey-dns-records --provider-cert-file=/var/lib/dnsdist/resolver2.cert
So I'm interested how to generate this kind of contsruction
The problem is that I want to do the same for dnsdist server and I can get all the information from it using functions DNSCryptCert:getClientMagic() DNSCryptCert:getResolverPubkey() and others but I have no idea how to generate this string cause all these functions generate strings of binary information and here we have some different encoding with slashes and etc. Is there a "magic" utility that can do it separately?