HTTPS certificate management method
A certificate management and certificate technology, applied in the WEB application field, can solve the problems of time-consuming and laborious, large workload of copying certificate files, and error-prone, and achieve the effect of increasing security, avoiding losses and improving efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] like figure 1 As shown, the present invention provides a method for HTTPS certificate management, which includes:
[0045] New certificate issuance operation: use the API interface to connect to the server to perform domain name resolution and verification, and then issue the certificate; the specific steps include the following:
[0046] S101. Obtain data information of a user;
[0047] S102, analyze the data information of the user, and query to determine whether the database already has the visa information of the data information; if not, continue to execute step S103; if there is, determine whether the visa information period of the data information exceeds the threshold, If it does not exceed, it will exit the certificate issuance process; if it exceeds, it will be transferred to the subsequent certificate renewal operation;
[0048] S103, generate and save the corresponding private key information, and create a CSR file to which user data information is added; ...
Embodiment 2
[0069] like figure 2 To proceed with the visa as shown:
[0070] S1, obtain the domain name INPUTDOMAIN input by the user through the command line.
[0071] S2, python adds the tldextract extension library, parses the domain name information input by the user, and obtains the subdomain, domain, and suffix information.
[0072] S3, query whether the visa information of INPUTDOMAIN already exists in the database. If it exists and the certificate expiration time is less than 20 days, the certificate is valid and the process is exited. If it does not exist, continue with the following steps.
[0073] S4, python adds the paramiko extension library to generate 1024-bit or 2048-bit private key information (paramiko.RSAKey.generate(2048)) and save it to domainKeyFile.
[0074] S5, create a CSR file, add the user input INPUTDOMAIN to the CSR file ('openssl req-new-sha256-key%s-subj" / "-addext"subjectAltName=DNS:*.%s,DNS:%s"- out %s'%(domainKeyFile,singDomain,singDomain,domainCsrFi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


