Skip to content

Commit

Permalink
Merge pull request #40 from projectdiscovery/fix-tls-issue
Browse files Browse the repository at this point in the history
Fix for Chrome TLS Warning
  • Loading branch information
ehsandeep authored May 23, 2021
2 parents c83d769 + 89044a3 commit a282e1f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkg/certs/ca.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ import (
// Constants used for the SSL Certificates
const (
bits = 2048
organization = "ProjectDiscovery, Inc."
country = "IN"
province = "Maharashtra"
locality = "B.P.Lane"
streetAddress = "321, B.P.Lane West."
postalCode = "400003"
organization = "Proxify CA"
country = "US"
province = "CA"
locality = "San Francisco"
streetAddress = "548 Market St"
postalCode = "94104"
)

// createCertificateAuthority creates a new certificate authority
Expand Down Expand Up @@ -140,7 +140,7 @@ func (m *Manager) signCertificate(host string) (*tls.Certificate, error) {
template.DNSNames = append(template.DNSNames, host)
}

certpriv, err := rsa.GenerateKey(rand.Reader, 2048)
certpriv, err := rsa.GenerateKey(rand.Reader, bits)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a282e1f

Please sign in to comment.