You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
file based publishing fails when rule has a predicate specified
Steps to Reproduce:
enable publishing.
delete all existing rules
create a rule { rule1 }
the ruleType = certs ,
predicate = HTTP_PARAMS.certType==client
uses a filebasedpublisher ( file1 ) with noMap ( map1 )
configure filebasedpublisher ( file1 ) such that it would publish to a
writable directory like /export/
configure filebasedpublisher ( file1 ) such that it would publish .der and
.b64 type files
enroll for a user certificate using the profile caUserCert and approve it.
enroll for a server certificate using the profile caServerCert and approve it.
Actual results:
publishing of client cert fails
Expected results:
publishing of client certs should be successful. publishing of server cert
should fail
Additional info:
CA debug log messages
[18/Aug/2015:17:56:20][Thread-28]: LdapRequestListener handling publishing for
enrollment request id 90
[18/Aug/2015:17:56:20][Thread-28]: Checking publishing for request 90
[18/Aug/2015:17:56:20][Thread-28]: In PublisherProcessor::publishCert
[18/Aug/2015:17:56:20][Thread-28]: Publishing: can't find publishing
rule,exiting routine.
[18/Aug/2015:17:56:20][Thread-28]: PublishProcessor::publishCert : Failed to
publish using rule: No rules enabled
[18/Aug/2015:17:56:20][Thread-28]: RunListeners: IRequestListener =
com.netscape.cms.listeners.CertificateRevokedListener
[18/Aug/2015:17:56:20][Thread-28]: RunListeners: mRequest = 90
[18/Aug/2015:17:56:20][Thread-28]: updatePublishingStatus
mSavePublishingCounter: 9 mSavePublishingStatus: 200
[18/Aug/2015:17:56:20][Thread-28]: RunListeners: noQueue SingleRequest
[18/Aug/2015:17:56:20][Thread-28]: RequestRepository: setPublishingStatus
mBaseDN: ou=ca,ou=requests,dc=pki-ca status: -1
[18/Aug/2015:17:56:20][Thread-28]: In LdapBoundConnFactory::getConn()
[18/Aug/2015:17:56:20][Thread-28]: masterConn is connected: true
[18/Aug/2015:17:56:20][Thread-28]: getConn: conn is connected true
[18/Aug/2015:17:56:20][Thread-28]: getConn: mNumConns now 5
[18/Aug/2015:17:56:20][Thread-28]: returnConn: mNumConns now 6
[18/Aug/2015:17:56:20][Thread-28]: Number of publishing threads: 0
The text was updated successfully, but these errors were encountered:
This issue was migrated from Pagure Issue #1573. Originally filed by rpattath (@rpattath) on 2015-08-19 21:19:18:
file based publishing fails when rule has a predicate specified
Steps to Reproduce:
Actual results:
Expected results:
Additional info:
The text was updated successfully, but these errors were encountered: