GithubHelp home page GithubHelp logo

Comments (1)

pratikmohanty avatar pratikmohanty commented on July 24, 2024

Got it to work using the below:-
dn_header = binascii.unhexlify('004b3049')
dn1 = x509.X509_ExtDefault(binascii.unhexlify('310b300906035504061302494e'))
dn2 = x509.X509_ExtDefault(binascii.unhexlify('310c300a060355040813034b4152'))
dn3 = x509.X509_ExtDefault(binascii.unhexlify('311b3019060355040a14124369747269782052264420507674204c7464'))
dn4 = x509.X509_ExtDefault(binascii.unhexlify('310f300d06035504031306436974726978'))
certificate_request = TLSCertificateRequest(algs=0x0401,ca_dns=dn_header/ dn1 / dn2 / dn3 / dn4,dn_length=77)
cert_req_record = TLSRecord(version=version) / TLSHandshakes(handshakes=[ TLSHandshake() / certificate_request])

dn1,dn2,dn3,dn4 are the different DNs for the CA certificate.

from scapy-ssl_tls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.