Movatterモバイル変換


[0]ホーム

URL:


CN107566393A - A kind of dynamic rights checking system and method based on trust certificate - Google Patents

A kind of dynamic rights checking system and method based on trust certificate
Download PDF

Info

Publication number
CN107566393A
CN107566393ACN201710882719.6ACN201710882719ACN107566393ACN 107566393 ACN107566393 ACN 107566393ACN 201710882719 ACN201710882719 ACN 201710882719ACN 107566393 ACN107566393 ACN 107566393A
Authority
CN
China
Prior art keywords
certificate
client
trust
service end
storehouse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710882719.6A
Other languages
Chinese (zh)
Inventor
张宇
刘凯
徐杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Business System Co Ltd
Original Assignee
Shandong Inspur Business System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Business System Co LtdfiledCriticalShandong Inspur Business System Co Ltd
Priority to CN201710882719.6ApriorityCriticalpatent/CN107566393A/en
Publication of CN107566393ApublicationCriticalpatent/CN107566393A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

The invention discloses a kind of dynamic rights based on trust certificate to verify system and method, including client;Service end;Trust storehouse, all trustworthy certificates information are stored with tabular form, for the certification authentication between client, service end during information coded communication.A kind of dynamic rights checking system and method based on trust certificate of the present invention is compared with prior art, there is transmission encryption, without password disclosure risk, trusted certificate list is changed including dynamic, the trusted certificate or removed certificate newly added comes into force immediately, so as to realize effectively, control system access rights in time, it is practical, it is applied widely, there is good application value.

Description

A kind of dynamic rights checking system and method based on trust certificate
Technical field
The present invention relates to Computer Applied Technology field, specifically a kind of dynamic rights based on trust certificate are testedDemonstrate,prove system and method.
Background technology
HTTP(Http protocol)It is used for the transmission information between Web browser and Website server.Http protocol does not provide the data encryption of any mode, if attacker has intercepted Web browser with clear-text way transmission contentTransmitting message between Website server, it is possible to directly understand information therein, therefore http protocol is not suitable for transmission oneA little sensitive informations, such as credit number, password etc..
In order to solve this defect of http protocol, it is necessary to using another agreement:Security socket layer Hyper text transferAgreement(HTTPS agreements).For the safety of data transfer, HTTPS adds ssl protocol on the basis of HTTP, and SSL is by cardBook comes the identity of authentication server, and the communication encryption between browser and server.
HTTPS and HTTP difference predominantly it is following some:
First, https agreements need CA to apply for certificate.
2nd, http is HTTP, and information is plaintext transmission, and https is then that the ssl with security is encryptedHost-host protocol.
3rd, http connection is very simple, is stateless.HTTPS agreements are carried out by SSL+HTTP protocol constructionsEncrypted transmission, the procotol of authentication, than http protocol security.
In recent years, developing rapidly due to computer network, the Authority Verification security of some key service systems obtainIncreasing attention, and the Authority Verification mode based on trust certificate is wherein important one kind, based on this, the present inventionThe technology that a kind of dynamic rights in trust certificate are verified is provided.
The content of the invention
The technical assignment of the present invention is to be directed to above weak point, there is provided a kind of dynamic rights based on trust certificate are testedDemonstrate,prove system and method.
A kind of dynamic rights checking system based on trust certificate, including,
Client;
Service end;
Trust storehouse, all trustworthy certificates information are stored with tabular form, for information coded communication between client, service endWhen certification authentication.
It is described trust storehouse be used for the client certificate that receives of service end checking whether trusted, this is verified dynamic and testedDemonstrate,prove class to realize, the verification process of the dynamic authentication class is:
Dynamic authentication class judges to trust whether storehouse is modified first, has been changed if trusting storehouse, has reloaded and trust storehouseContent, reload trust storehouse complete after, judge active client certificate whether in trusted certificate list;
If trusting storehouse not change, directly judge active client certificate whether in trusted certificate list.
The dynamic authentication class is used as mark to judge to trust whether storehouse is changed by a globally accessible attributeCross, the attribute includes global variable, the file on disk, the record in database.
A kind of dynamic rights verification method based on trust certificate, based on said system, implementation step is:
First, first verify that whether client, the certificate version information of service end are legal;
2nd, after checking is legal, service end judges whether client certificate is legal by trusting storehouse;
3rd, encipherment scheme, service end is selected to be sent to client after using the public key encryption received;
4th, new symmetric cryptographic key is produced after client is decrypted using private key, service end is sent to after encryption;
5th, service end is decrypted using private key, obtains symmetric cryptographic key;
6th, client, service end carry out symmetric cryptography, it is ensured that communication security.
The process of the step 1 is:
Client sends client certificate version information to service end;
Service end returns to service end certificate version, random number information, and server public key to client;
Whether client verification service end certificate is legal, legal continuation, otherwise alerts.
In the step 2, after checking is legal, client sends the certificate of oneself and public key to service end, service endClient certificate is verified, verification obtains client public key after terminating, and then it is supported symmetrical to send oneself for clientEncipherment scheme selects to service end for service end.
The process that service end enters verification to client certificate is:
The mark of configuration one first, to represent to trust whether storehouse is modified;
Judge above-mentioned mark, if trust storehouse is modified, reloads and trust storehouse, reload after trusting storehouse completion,Overall identification is reset to unmodified state, then judges active client certificate whether in trusted certificate list;
If trusting storehouse not change, directly judge active client certificate whether in trusted certificate list.
Described to be identified as a globally accessible attribute, the attribute includes global variable, the file on disk, databaseIn record, represent trust storehouse whether be modified.
The process of the step 3 is:
The symmetric encryption scheme that service end is sent according to client selects cipher mode;
Service end is sent to client after the encipherment scheme chosen is encrypted using client public key.
The process of the step 4 is:
After client receives cipher mode, it is decrypted using private key, produces random code, as symmetric cryptographic key, use clothesAfter business end public key is encrypted, service end is sent to, is then decrypted again by service end using private key pair encryption, obtainedThe key of symmetric cryptography.
Compared to the prior art a kind of dynamic rights checking system and method based on trust certificate of the present invention, hasFollowing beneficial effect:
A kind of dynamic rights checking system and method based on trust certificate of the present invention, has transmission encryption, without passwordThe advantages that disclosure risk, including dynamic modification trusted certificate list, the trusted certificate newly added or removed certificate are instantCome into force, so as to realize effectively, control system access rights in time, it is practical, it is applied widely, have and promote wellApplication value.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existingThere is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only thisThe embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basisThe accompanying drawing of offer obtains other accompanying drawings.
Accompanying drawing 1 is method implementation process figure of the invention.
Accompanying drawing 2 is the present invention based on the flow chart for trusting storehouse progress certification authentication.
Accompanying drawing 3 is web container connector configuration diagram of the present invention.
Embodiment
In order that those skilled in the art more fully understand the solution of the present invention, with reference to embodiment to thisInvention is described in further detail.Obviously, described embodiment is only part of the embodiment of the present invention, rather than allEmbodiment.Based on the embodiment in the present invention, those of ordinary skill in the art institute under the premise of creative work is not madeThe every other embodiment obtained, belongs to the scope of protection of the invention.
A kind of dynamic rights checking system based on trust certificate, including,
Client;
Service end;
Trust storehouse, all trustworthy certificates information are stored with tabular form, for information coded communication between client, service endWhen certification authentication.
It is described trust storehouse be used for the client certificate that receives of service end checking whether trusted, this is verified dynamic and testedDemonstrate,prove class to realize, the verification process of the dynamic authentication class is:
Dynamic authentication class judges to trust whether storehouse is modified first, has been changed if trusting storehouse, has reloaded and trust storehouseContent, reload trust storehouse complete after, judge active client certificate whether in trusted certificate list;
If trusting storehouse not change, directly judge active client certificate whether in trusted certificate list.
The dynamic authentication class is used as mark to judge to trust whether storehouse is changed by a globally accessible attributeCross, the attribute includes global variable, the file on disk, the record in database.
Server end container is by taking tomcat as an example:
Such as Fig. 3, web container is configured(By taking tomcat as an example)Connector, specify trustManager class name.
Realize customized dynamic trust storehouse checking class:DynamicTrustManager.
Such as Fig. 2, the class realized in previous step first determines whether overall identification, if it is modified to trust storehouse, reloadsTrust storehouse.Whether loading judges active client certificate in trusted certificate list after completing.
If trusting storehouse not change, directly judge active client certificate whether in trusted certificate list.Such as Fig. 1Step 5.
Handled according to the result of previous step, if the verification passes, obtain client public key, continued follow-up logicalLetter.Such as the subsequent step of Fig. 1 step 5.
If checking is not by terminating communication, connection disconnects.
If be modified to trusting storehouse, including add and delete, renewal overall identification is modified state.
As shown in Figure 1 and Figure 2, a kind of dynamic rights verification method based on trust certificate, based on said system, it realizes stepSuddenly it is:
First, first verify that whether client, the certificate version information of service end are legal;
2nd, after checking is legal, service end judges whether client certificate is legal by trusting storehouse;
3rd, encipherment scheme, service end is selected to be sent to client after using the public key encryption received;
4th, new symmetric cryptographic key is produced after client is decrypted using private key, service end is sent to after encryption;
5th, service end is decrypted using private key, obtains symmetric cryptographic key;
6th, client, service end carry out symmetric cryptography, it is ensured that communication security.
The process of the step 1 is:
Client sends client certificate version information to service end;
Service end returns to service end certificate version, random number information, and server public key to client;
Whether client verification service end certificate is legal, legal continuation, otherwise alerts.
In the step 2, after checking is legal, client sends the certificate of oneself and public key to service end, service endClient certificate is verified, verification obtains client public key after terminating, and then it is supported symmetrical to send oneself for clientEncipherment scheme selects to service end for service end.
The process that service end enters verification to client certificate is:
The mark of configuration one first, to represent to trust whether storehouse is modified;
Judge above-mentioned mark, if trust storehouse is modified, reloads and trust storehouse, reload after trusting storehouse completion,Overall identification is reset to unmodified state, then judges active client certificate whether in trusted certificate list;
If trusting storehouse not change, directly judge active client certificate whether in trusted certificate list.
Described to be identified as a globally accessible attribute, the attribute includes global variable, the file on disk, databaseIn record, represent trust storehouse whether be modified.
The process of the step 3 is:
The symmetric encryption scheme that service end is sent according to client selects cipher mode;
Service end is sent to client after the encipherment scheme chosen is encrypted using client public key.
The process of the step 4 is:
After client receives cipher mode, it is decrypted using private key, produces random code, as symmetric cryptographic key, use clothesAfter business end public key is encrypted, service end is sent to, is then decrypted again by service end using private key pair encryption, obtainedThe key of symmetric cryptography.
The present invention is applicable based on https agreements, the Authority Verification system of trust certificate.
The certificate requirements being related to use X509 certificate formats.
Support to dynamically increase and delete entry in the trust storehouse that system is used for inspection certificate validity.
This patent is applied to https two-way authentications.
By embodiment above, the those skilled in the art can readily realize the present invention.But shouldWork as understanding, the present invention is not limited to above-mentioned embodiment.On the basis of disclosed embodiment, the technical fieldTechnical staff can be combined different technical characteristics, so as to realize different technical schemes.
It is the known technology of those skilled in the art in addition to the technical characteristic described in specification.

Claims (10)

CN201710882719.6A2017-09-262017-09-26A kind of dynamic rights checking system and method based on trust certificatePendingCN107566393A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710882719.6ACN107566393A (en)2017-09-262017-09-26A kind of dynamic rights checking system and method based on trust certificate

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710882719.6ACN107566393A (en)2017-09-262017-09-26A kind of dynamic rights checking system and method based on trust certificate

Publications (1)

Publication NumberPublication Date
CN107566393Atrue CN107566393A (en)2018-01-09

Family

ID=60982492

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710882719.6APendingCN107566393A (en)2017-09-262017-09-26A kind of dynamic rights checking system and method based on trust certificate

Country Status (1)

CountryLink
CN (1)CN107566393A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108881176A (en)*2018-05-282018-11-23惠州市德赛西威汽车电子股份有限公司A kind of method of secure communication between car networking terminal
CN109660530A (en)*2018-12-082019-04-19公安部第三研究所A kind of protecting information safety method based on hardware certificate
CN110519239A (en)*2019-08-092019-11-29苏州浪潮智能科技有限公司A kind of protocol configuration method, device, equipment and readable storage medium storing program for executing
CN113242239A (en)*2021-05-102021-08-10广州欢网科技有限责任公司Method, device and system for realizing https bidirectional authentication
EP4400995A1 (en)*2023-01-162024-07-17Siemens AktiengesellschaftMethod for dynamically adapting an access policy for a container-implemented application during runtime

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060095760A1 (en)*2004-10-282006-05-04International Business Machines CorporationMethod, system, and storage medium for eliminating password exposure when requesting third-party attribute certificates
CN104580172A (en)*2014-12-242015-04-29北京奇虎科技有限公司Data communication method and device based on https (hypertext transfer protocol over secure socket layer)
CN105119894A (en)*2015-07-162015-12-02上海慧银信息科技有限公司Communication system and communication method based on hardware safety module
CN106936790A (en)*2015-12-302017-07-07上海格尔软件股份有限公司The method that client and server end carries out two-way authentication is realized based on digital certificate
CN107046539A (en)*2017-04-072017-08-15山东中创软件商用中间件股份有限公司The method to set up and device of a kind of application secure access

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060095760A1 (en)*2004-10-282006-05-04International Business Machines CorporationMethod, system, and storage medium for eliminating password exposure when requesting third-party attribute certificates
CN104580172A (en)*2014-12-242015-04-29北京奇虎科技有限公司Data communication method and device based on https (hypertext transfer protocol over secure socket layer)
CN105119894A (en)*2015-07-162015-12-02上海慧银信息科技有限公司Communication system and communication method based on hardware safety module
CN106936790A (en)*2015-12-302017-07-07上海格尔软件股份有限公司The method that client and server end carries out two-way authentication is realized based on digital certificate
CN107046539A (en)*2017-04-072017-08-15山东中创软件商用中间件股份有限公司The method to set up and device of a kind of application secure access

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108881176A (en)*2018-05-282018-11-23惠州市德赛西威汽车电子股份有限公司A kind of method of secure communication between car networking terminal
CN109660530A (en)*2018-12-082019-04-19公安部第三研究所A kind of protecting information safety method based on hardware certificate
CN110519239A (en)*2019-08-092019-11-29苏州浪潮智能科技有限公司A kind of protocol configuration method, device, equipment and readable storage medium storing program for executing
CN110519239B (en)*2019-08-092022-02-25苏州浪潮智能科技有限公司Protocol configuration method, device, equipment and readable storage medium
CN113242239A (en)*2021-05-102021-08-10广州欢网科技有限责任公司Method, device and system for realizing https bidirectional authentication
EP4400995A1 (en)*2023-01-162024-07-17Siemens AktiengesellschaftMethod for dynamically adapting an access policy for a container-implemented application during runtime
WO2024153380A1 (en)*2023-01-162024-07-25Siemens AktiengesellschaftMethod for dynamically adapting an access policy for a container-implemented application at runtime

Similar Documents

PublicationPublication DateTitle
CN112333198B (en) Secure cross-domain login method, system and server
US10439826B2 (en)Identity-based certificate management
US9565180B2 (en)Exchange of digital certificates in a client-proxy-server network configuration
US10567370B2 (en)Certificate authority
KR101508360B1 (en)Apparatus and method for transmitting data, and recording medium storing program for executing method of the same in computer
US8532620B2 (en)Trusted mobile device based security
AU2011309758B2 (en)Mobile handset identification and communication authentication
US9197420B2 (en)Using information in a digital certificate to authenticate a network of a wireless access point
US10033720B2 (en)Method and system for creating a certificate to authenticate a user identity
EP3659295A1 (en)Authentication token with client key
US20090240936A1 (en)System and method for storing client-side certificate credentials
KR101744747B1 (en)Mobile terminal, terminal and method for authentication using security cookie
CA2879910C (en)Terminal identity verification and service authentication method, system and terminal
CN109981287B (en)Code signing method and storage medium thereof
CN110800248A (en)Method for mutual symmetric authentication between a first application and a second application
CN113472790B (en)Information transmission method, client and server based on HTTPS protocol
CN107566393A (en)A kind of dynamic rights checking system and method based on trust certificate
CN113726523B (en)Multiple identity authentication method and device based on Cookie and DR identity cryptosystem
CN110798322B (en)Operation request method, device, storage medium and processor
KR102118556B1 (en)Method for providing private blockchain based privacy information management service
KR102053993B1 (en)Method for Authenticating by using Certificate
CN115720137B (en)Information management system, method and device
KR101962349B1 (en)Consolidated Authentication Method based on Certificate
TWI698113B (en)Identification method and systerm of electronic device
CN106464684B (en)Service processing method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20180109

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp