ejbca
: Installs and configures EJBCAejbca::api_config
: Configure access to the EJBCA APIejbca::config
: Configure EJBCAejbca::install
: Install EJBCAejbca::wildfly::config
: Configure Wildflyejbca::wildfly::install
: Install Wildfly
ejbca::wildfly::interface
: Create a Wildfly interface and socket-binding
ejbca_end_entity
: Username
Installs and configures EJBCA
include ejbca
The following parameters are available in the ejbca
class:
wildfly_version
user
group
home
ejbca_source
ejbca_basename
ejbca_install_dir
database_driver
database_driver_params
db
db_user
db_password
database_url
keystore_password
organization
country
superadmin_cn
superadmin_password
api_client_cert_filename
api_client_cert_path
api_client_cert_password
vhost_name
java_home
java_xms
java_xmx
java_opts
add_datasource
wildfly_reload_retries
wildfly_reload_wait
Data type: String
The version of Wildfly to use.
Default value: '10.1.0'
Data type: String
The user Wildfly runs as.
Default value: 'ejbca'
Data type: String
The group Wildfly runs as.
Default value: 'ejbca'
Data type: Stdlib::Absolutepath
The home directory of user, as an absolute path.
Default value: "/home/${user}"
Data type: Stdlib::Httpurl
The url to download the EJBCA source from.
Default value: 'https://sourceforge.net/projects/ejbca/files/ejbca6/ejbca_6_15_2_6/ejbca_ce_6_15_2_6.zip'
Data type: String
The basename of the source, without extension
Default value: basename($ejbca_source, '.zip')
Data type: Stdlib::Absolutepath
The absolute path to the directory the EJBCA source is unpacked to.
Default value: "${home}/${ejbca_basename}"
Data type: Ejbca::Database_driver
The name of the database driver EJBCA will use.
Default value: 'h2'
Data type: Ejbca::Database_driver_params
The parameters required to add the database driver to Wildfly, as a hash.
Default value: ejbca::database_driver_params($database_driver)
Data type: String
The name of the EJBCA database.
Default value: 'ejbca'
Data type: String
The database user to access the EJBCA db.
Default value: 'ejbca'
Data type: String
The password for the database user.
Default value: 'ejbca'
Data type: String
The url to access the EJBCA database.
Default value: ejbca::database_url($database_driver, $db)
Data type: String
The password protecting the Java keystore.
Default value: 'serverpwd'
Data type: String
Your organization.
Default value: 'EJBCA Sample'
Data type: String
Your country.
Default value: 'SE'
Data type: String
CN of the EJBCA SuperAdmin end entity.
Default value: 'SuperAdmin'
Data type: String
Password for the EJBCA SuperAdmin end entity.
Default value: 'ejbca'
Data type: String
The filename of the certificate that grants access to the EJBCA API.
Default value: downcase($superadmin_cn)
Data type: Stdlib::Absolutepath
Absolute path to a certificate that grants access to the EJBCA API.
Default value: "${ejbca_install_dir}/p12/${api_client_cert_filename}.p12"
Data type: String
Password protecting the certificate that grants access to the EJBCA API.
Default value: 'ejbca'
Data type: Stdlib::Fqdn
Name of the virtual host that EJBCA will use.
Default value: $facts['fqdn']
Data type: Stdlib::Absolutepath
Absolute path to JAVA_HOME
Default value: '/usr/lib/jvm/java-8-openjdk-amd64'
Data type: String
Value of the -Xms Java parameter
Default value: '2048m'
Data type: String
Value of the -Xmx Java parameter
Default value: '2048m'
Data type: String
Additional options to use with Java.
Default value: '-Djava.net.preferIPv4Stack=true'
Data type: Boolean
Whether to add the EjbcaDS datasource
Default value: false
Data type: Integer
The number of retries to check if wildfly is available after a reload
Default value: 4
Data type: Integer
The delay in seconds between consecutive checks if wildfly is available after a reload
Default value: 30
Configure access to the EJBCA API
include ejbca::api_config
Configure EJBCA
include ejbca::config
Install EJBCA
include ejbca::install
Configure Wildfly
include ejbca::wildfly::config
Install Wildfly
include ejbca::wildfly::install
Create a Wildfly interface and socket-binding
ejbca::wildfly::interface { 'namevar': }
The following parameters are available in the ejbca::wildfly::interface
defined type:
Data type: String
Default value: $title
Data type: Integer
Default value: undef
Username
The following properties are available in the ejbca_end_entity
type.
Issueing CA
Certificate Profile
Default value: ENDUSER
Email address
End Entity Profile
Default value: EMPTY
Valid values: present
, absent
, new
, revoked
Default value: present
Subject Alternative Names
Default value: []
Subject DN
Valid values: USERGENERATED
, P12
, JKS
, PEM
Token type
Default value: USERGENERATED
The following parameters are available in the ejbca_end_entity
type.
Valid values: true
, false
, yes
, no
Store password in clear text?
Default value: false
Password or enrollment code
The specific backend to use for this ejbca_end_entity
resource. You will seldom need to specify this --- Puppet will
usually discover the appropriate provider for your platform.
Valid values: aacompromise
, affiliationchanged
, cacompromise
, certificatehold
, cessationofoperation
, keycompromise
, privilegeswithdrawn
, removefromcrl
, superseded
, unspecified
Revocation reason
Default value: unspecified
Username
Type: Puppet Language
The ejbca::database_driver_params function.
The ejbca::database_driver_params function.
Returns: Ejbca::Database_driver_params
Data type: Ejbca::Database_driver
Type: Puppet Language
The ejbca::database_url function.
The ejbca::database_url function.
Returns: String
Data type: Ejbca::Database_driver
Data type: String
The Ejbca::Database_driver data type.
Alias of
Enum['mariadb', 'mysql5', 'mysql8', 'postgresql', 'h2']
The Ejbca::Database_driver_params data type.
Alias of
Struct[{
database_name => Enum['db2', 'derby', 'h2', 'informix', 'ingres', 'mssql', 'mysql', 'oracle', 'postgres', 'sybase'],
driver_module_name => String,
driver_module_source => Variant[Pattern[/^\./], Pattern[/^file:\/\//], Pattern[/^puppet:\/\//], Stdlib::Httpurl],
driver_name => String,
driver_xa_datasource_class_name => String
}]