System Requirements
JSIFEN requires the following to run:Java
Version: Java 17 or higherRecommended: Java 21 LTS
Operating System
Linux, macOS, or WindowsAll major platforms supported
Certificate
PKCS12 (
.p12) certificateRequired for SIFEN authenticationNetwork Port
Port 8000 (default)Configurable in settings
Installation Steps
# HTTP server port
quarkus.http.port=8000
# Swagger UI documentation path
quarkus.swagger-ui.path=/doc/swagger
# SIFEN Environment (prod/test)
sifen.ambiente=prod
sifen.id-csc=0001
sifen.csc=your-csc-code-here
sifen.keystore.path=/path/to/certificate.p12
sifen.keystore.password=your-certificate-password
Never commit credentials to version control. Consider using environment variables or secure vaults for production deployments.
build/quarkus-app/build/quarkus-app/config/The build process is configured to automatically copy
application.properties and sifen.properties to the output directory’s config/ folder.Build Output Structure
After building, your application structure will be:Configuration Details
Port Configuration
The default port is8000. To change it, edit src/main/resources/application.properties:
Multi-Tenant Configuration
JSIFEN supports multiple SIFEN clients (emisores). Add additional configurations insifen.properties:
Emisor header in API requests:
Testing the Installation
Run the test suite to ensure everything is working:Dependencies
JSIFEN is built on the following key technologies:- Quarkus 3.26.2: Kubernetes-native Java framework
- Java 21: Target compilation version
- Jakarta EE: REST, JSON-B APIs
- SmallRye OpenAPI: API documentation generation
Troubleshooting
Build Failures
Issue: Gradle build fails with compilation errors Solution: Ensure you’re using Java 17 or higher:Certificate Errors
Issue: Certificate not found or invalid password Solution:- Verify the certificate path is absolute, not relative
- Check the certificate password is correct
- Ensure the certificate file has proper read permissions
Port Conflicts
Issue: Port 8000 is already in use Solution: Change the port inapplication.properties or use a runtime override:
SIFEN Connection Issues
Issue: Cannot connect to SIFEN services Solution:- Verify your credentials are correct
- Check network connectivity to SIFEN servers
- Ensure you’re using the correct environment (
testorprod) - Verify your certificate is valid and not expired
Next Steps
Quickstart
Make your first API call in under 10 minutes
Configuration
Learn about advanced configuration options
API Reference
Explore all available endpoints
Deployment
Deploy JSIFEN to production