Commit Graph

98 Commits

Author SHA1 Message Date
iadgovuser29
ea0d46147e Some package scripts needed chmod +x 2023-09-18 10:21:55 -04:00
iadgovuser26
097c3e3dd3 cleaned up after testing 2023-09-14 15:25:19 -04:00
iadgovuser26
7f7238f4d2 added a chron job to start the ACA on reboot 2023-09-13 16:56:39 -04:00
Cyrus
7337c115ca Copying the json files for component class and vendor table were taken
out of the set up script.  They are now causing errors because the files
can't be found.
2023-09-08 07:59:58 -04:00
iadgovuser26
cb4ad4d51a Updated gradle to v8.3 and nebula to 11.4.0 2023-09-06 16:10:16 -04:00
iadgovuser26
3e5b76dda4 cleaned up commented out code and unsused files 2023-09-01 11:15:49 -04:00
iadgovuser29
0b065e22c6 Cipher options on openssl pkcs12 export cmds. [no ci] 2023-09-01 07:11:52 -04:00
iadgovuser26
2ce4264f6e added a -h|--help and -u|--unattended option for aca_setup.sh 2023-08-31 16:30:09 -04:00
iadgovuser26
410dbc8444 Added check for selinux, adds context to cnf files 2023-08-31 09:50:19 -04:00
iadgovuser26
f5ac517814 Minor adjustment for RHEL OS with FIPS mode enabled 2023-08-31 09:30:08 -04:00
iadgovuser26
a054995470 fixed admin check on aca_bootRun.sh 2023-08-30 13:20:26 -04:00
iadgovuser26
da3efcb7fa added an aca_check_setup.sh script 2023-08-28 20:18:23 +00:00
iadgovuser26
aef7a2b9ac Added aca_setup_check.sh 2023-08-23 16:30:44 -04:00
iadgovuser26
88aa10010b cleaned up unused file 2023-08-18 16:38:53 +00:00
iadgovuser26
4766903aad initial setup for DB TLS 2023-08-11 09:47:30 -04:00
iadgovuser26
3a72f8ad4d removed un-needed files 2023-07-20 12:50:16 -04:00
iadgovuser26
172236a75b moved logs to /var/log/hirs 2023-07-20 11:53:34 -04:00
iadgovuser26
383fefdfef changed bootRun parameter to --spring.config.location 2023-07-18 13:09:31 -04:00
iadgovuser26
29ba16cdb5 fixed issue with bootRun on RHEL 2023-07-13 16:40:53 -04:00
iadgovuser26
a569bda8db Updated cert gen script path for bootRun 2023-07-10 15:57:38 +00:00
iadgovuser26
a8e5758cf4 Updated aca_bootRun script 2023-07-07 20:54:19 +00:00
iadgovuser26
146d05961d updated application.settings to use tls 2023-07-07 19:26:12 +00:00
iadgovuser26
ae93a8bced added aca_setup.sh to support embedded tomcat [no ci] 2023-06-02 19:39:08 +00:00
iadgovuser26
c93118b71e added script for generating pki keys/certs [no ci] 2023-05-19 20:36:12 +00:00
iadgovuser26
1a70038f57 Added new pki gen script [no ci] 2023-05-12 19:07:44 +00:00
iadgovuser26
b5c4d86430 cleaned up dnf install and dnf remove 2023-05-03 16:55:10 +00:00
iadgovuser26
5330318439 adjusted to mysql password settings [no ci] 2023-04-27 21:08:43 +00:00
iadgovuser26
665e90b176 updated with package for the ACA [no ci] 2023-04-27 19:52:08 +00:00
Cyrus
8b365bed34 This is a re-creation of tls-settings-update #366 2022-04-14 06:35:49 -04:00
Cyrus
2547cb6cce This initial commit updates the location of the vendor-table.json which is used by the ACA and the eventlog tool. The previous change moved the vendor-table.json to a separate folder, however the code was not updated to reflect the change. This instead updates how the two install handle the file. The ACA was updated not to clobber the file if it exists and the eventlog tool was updated to do the same through an additional script called post install. 2021-11-09 08:32:04 -05:00
chubtub
b13835a9f0 Install vendor-table.json into two separate paths. Update version number of tcg_eventlog_tool. 2021-08-02 10:08:33 -04:00
Cyrus
3852bd7c6e This code push removes a large switch/case statement structure and refactors it into a json file call. This follows the similar implementation of the Component Class but for UEFI vendor names. 2020-09-25 11:19:50 -04:00
chubtub
ad3aa1a6c6 Created sql script to add columns to backend. Call script from spec file. 2019-11-19 11:04:51 -05:00
chubtub
6cc2a7815a Slight clean up 2019-09-11 12:35:27 -04:00
Cyrus
91520f4b5f Updated syntax. 2019-09-11 12:35:27 -04:00
Cyrus
a476e0783c Updated spec file to cp the version number of the upgraded package. 2019-09-11 12:35:27 -04:00
chubtub
b140ab46e9 Added scripts to upgrade hirs_db schema according to package upgrade. At the time of writing
there are schema changes when upgrading from 1.0.3 to 1.0.4 but not when upgrading to 1.1.0.
These scripts are called when 'yum upgrade HIRS_AttestationCA' is invoked.

Fixed script file path

Fixed MySQL syntax error

These changes now differentiate between upgrade versions and add respective columns, and also
account for upgrades from 1.0.3 directly to 1.1.0.
2019-09-11 12:34:23 -04:00
apldev3
74ed0005a1 Update package/scripts/aca/certificate_generate.sh
Co-Authored-By: apldev4 <apl.dev4@jhuapl.edu>
2019-05-23 14:54:01 -04:00
apldev3
77d48631f4 [#142] Make sure Tomcat stops completely in Docker containers before restarting it 2019-05-23 14:54:01 -04:00
iadgovuser26
6dba37be80
Merge pull request #97 from nsacyber/issue-90
Modify build scripts to enable installation on Amazon Linux
2019-03-28 11:06:33 -04:00
Cyrus
35c63efe19
[#24] Implementation of Component Class field (#114)
* This is new code that parses a new field in the upcoming TCG spec for the platform components fields. The new field indicates the type of hardware (ex Memory - DDR3). This information wasn't provided before so it wasn't always clear what the component was. The new information is provided in a json file. A unit test was created to test the different variations. This commit does not include hooks in the base code to use this class yet. This commit is mainly to include the added library and correct bug and checkstyle issues associated with the new code.

Closes #24

* Removed duplicate CONSTANT variable.

* Added newline

* Added Newline

* Updated variable names for json object.

* Fixed line length style error.
2019-03-25 11:14:19 -04:00
Michael Tsai
a2e6feb15b Modify build scripts to accept building on Amazon Linux 2019-02-21 16:36:04 -05:00
apldev3
05a78a3d79
[#46] Setup Travis for HIRS Integration Tests (#68)
* [#46] Ensure Travis mounts repository rather than clones it in Docker

* [#46] Containerize HIRS ACA and prep ACA container for Integration Tests

* [#46] Containerize HIRS TPM2Provisioner and prep TPM2Provisioner container for Integration Tests

* [#46] Replace localinstall with install

* [#46] Prevent rebuilding of packages unnecessarily

* [#46] Finish initial docker compose setup for integration tests

* [#46] Allow for detection of complete Integration Environment Setup

* [#46] Fix Travis CI to allow for detecting Integ Test Environ Stand-Up

* [#46] Fix Initial Integration Test Script

* [#46] Troubleshoot Integration Test script
2019-01-07 15:28:53 -05:00
apldev4
0586afb9d8
[#41] Provisioners use PACCOR for device info collection. (#45)
The provisioners used to shell out using different tools
to collect device info. Now they both use PACCOR instead.
2018-11-07 14:54:48 -05:00
apldev4
6847c814af [#28] ACA RPM modifies SELinux policy to allow Tomcat to use MySQL.
The CentOS7 package selinux-policy-targeted does not allow Tomcat
to use port 3306, which is the default MySQL port. This commit
changes the ACA RPM to modify the SELinux policy to grant that
permission on fresh installs. This makes the ACA RPM now require
the policycoreutils package to be installed.
2018-10-24 11:24:03 -04:00
apldev2
23570f71c3 Adding Tpm2-tss support for Deb packaging.
Changes how tpm20.h, which contains the TPM2 SAPI, is
imported to allow successful packaging of both debs and
rpms.
2018-10-18 12:05:43 -04:00
apldev3
e27e5ea1e6 [#7] Setup Build/Package Support for Ubuntu (#9) 2018-10-02 16:21:35 -04:00
apldev4
d7e44b8310 Initial release 2018-09-06 09:47:33 -04:00