Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
arunshrm101fss
@arunshrm101fss
arunshrm101fss
@arunshrm101fss
logs
CERT=/home/user_skf/server.pem
  • KEY=/home/user_skf/server.key
  • PORT=443
  • [[ change_this_super_secret_random_string != \c\h\a\n\g\e\m\e ]]
  • perl -pi -e 's/JWT_SECRET = '\'''\''/JWT_SECRET = '\''change_this_super_secret_random_string'\''/' /home/user_skf/skf/settings.py
  • [[ 3x.xx.xxx.xxx != '' ]]
  • perl -pi -e 's/*/https:\/\/ 3x.xx.xxx.xxx/' /home/user_skf/skf/settings.py
  • perl -pi -e 's/http:\/\/127.0.0.1:8888\/api/https:\/\/ 3x.xx.xxx.xxx\/api/' /home/user_skf/Angular/src/environments/environment.prod.ts
  • mkdir /run/nginx
Akash M
@AkashM398
securityknowledgeframework.org is down?
Akash M
@AkashM398
@blabla1337 it shows some privacy error and redirects to transip website. Can you look into this issue?
Glenn ten Cate
@blabla1337
@arunshrm101fss hmm weird
can you show me how your run command looks like now?
to start the docker
@AkashM398 yes sorry it was due to the move to a different DNS and hosting platform
but its fixed agian
thanks
Glenn ten Cate
@blabla1337
Guys we are also very busy to make a docker-compose file for local deployment
it looks like its working good
but need to do some more testing
also this version will allow you to spin the labs from SKF automatically
Riccardo ten Cate
@RiieCco
To give everybody an idea how it works:
https://youtu.be/Qbclz6kVoVg
Mehtab Zafar
@mzfr
oh this will be an amazing addition
mohammed elmasry
@M4sry__twitter
hello
i'd like to know how to install these labs
Riccardo ten Cate
@RiieCco
Hey!
For now you can either pull the repository and run them as flask apps with pytohn3
Or run the images from our Docker-hub on any host machine that runs Docker
Each lab write up tells how to run the images
The new release where you can connect SKF to your Kubernetes cluster is still in development
Although released pretty soon
bcncarles
@bcncarles
@fernandodebrando I have the same issue. Were you able to solve the localhost issue? When I click Create Accound the request goes to localhost
imagen.png
Glenn ten Cate
@blabla1337
@bcncarles what installation did you follow?
So I can give you some guidance
bcncarles
@bcncarles

Hi Glenn, thanks for your help
I'm triying to do Deployment of SKF Framework to Azure Web App for Containers

I set
ORIGIN: https://taasecurityskf.azurewebsites.net
WEBSITES_PORT:80
JWT_SECRET:XXXX
HTTPS=false
FRONTEND_URI: http://taasecurityskf.azurewebsites.net
I tried to modify skf-angular.sh with this option but nothing
ng serve --configuration=production --host 0.0.0.0 --disable-host-check

Is it possible to deploy only work with localhost? Or perhaps I need change other configuration. If you need more info I can to do a video and then you will see what I did.
Regards

bcncarles
@bcncarles
imagen.png
imagen.png
bcncarles
@bcncarles

@blabla1337 what is the parameter responsable to do the postbacks to localhost and where is it?

After every Change I launched below instructions with my parameters

docker build -t image-name:latest .
docker login yourregistryname.azurecr.io
docker tag image-name:latest yourregistryname.azurecr.io/username/image-name
docker push yourregistryname.azurecr.io/username/image-name

mohammed elmasry
@M4sry__twitter
while pulling docker it stucks while downloading ! any help ?!
Glenn ten Cate
@blabla1337
@bcncarles Hmm I see you miss a value
SKF_API_URL
this would point to your backend api
so what you can do is
use the api and the angular docker images that we also use for GKE
in here you can set all those ENV variables on the docker image
for example
the front end image only takes this one: FRONTEND_URI
in your case with value http://taasecurityskf.azurewebsites.net
then for the api docker image you have multiple ENV variables
Glenn ten Cate
@blabla1337
SKF_API_URL
this would point to your backend api
https://taasecurityskf.azurewebsites.net/api
JWT_SECRET