logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Using TPM Sealing feature in mod_ssl module
Author
rudy98



Joined: 10 Oct 2023
Posts: 1

PostPosted: Wed 18 Oct '23 19:21    Post subject: Using TPM Sealing feature in mod_ssl module Reply with quote

Hi folks,

I made some changes to the mod_ssl source code in order to accept three new Directives: SSLSealed (on/off), SSLSealedPublicFile and SSLSealedPrivateFile (file paths).

I am having a problem with the libraries I have to use (the TSS2 library to work with the TPM 2.0). I have included them in the .h file in which all the variables and structures are declared and I have tried building the mod_ssl module with this command:
Code:
 apxs -x -i -ltss2tcti-tabrmd -ltss2-esys -ltss2-mu mod_ssl.c
.
But I don't think it is the right way to do this because at the beginning before building it, it couldn't find any reference to the functions inside these libraries but now it cannot find functions already defined in the mod_ssl like ssl_cmd_SSLPhraseDialog.

I hope you can help me solve this problem.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Sun 25 Feb '24 23:44    Post subject: Reply with quote

I guess you registered your config parameters in
static const command_rec ssl_config_cmds ?

ssl_cmd_SSLPhraseDialog? Shouldn't it be ssl_cmd_SSLPassPhraseDialog from ssl_private.h? [1]



[1] https://github.com/apache/httpd/blob/4b8cdfb1fef5bdc3a5faaafc686345caa0c70fda/modules/ssl/ssl_private.h#L881C14-L881C41
Back to top


Reply to topic   Topic: Using TPM Sealing feature in mod_ssl module View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads